diff options
| author | ngkaho1234 <ngkaho1234@gmail.com> | 2016-01-23 03:28:20 +0000 |
|---|---|---|
| committer | ngkaho1234 <ngkaho1234@gmail.com> | 2016-01-23 05:48:11 +0000 |
| commit | e1bbe336d1736703a6b1565cfa5565fb276643a1 (patch) | |
| tree | 1e98d91cbc320af754fea1c15de028eec9853197 /Makefile | |
| parent | 2df08d93f8dda03f5cf3bb9c6928626540b9ef32 (diff) | |
Add 'lib_only' build target.
Under this target, only a basic library will be built.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -77,8 +77,13 @@ arm-sim: cd build_arm-sim && cmake -G"Unix Makefiles" \ $(COMMON_DEFINITIONS) \ -DCMAKE_TOOLCHAIN_FILE=../toolchain/arm-sim.cmake .. - -all: generic bf518 cortex-m3 cortex-m4 generic + +lib_only: + rm -R -f build_lib_only + mkdir build_lib_only + cd build_lib_only && cmake $(COMMON_DEFINITIONS) -DLIB_ONLY=TRUE .. + +all: generic bf518 cortex-m3 cortex-m4 lib_only clean: |
