Name refactiring inside file_windows module
[lwext4.git] / Makefile
index 023797b350a4989f54c49302e2b3b2bd71695867..edba01fd5aa74e0222bd3ea0b4fd467efc22eb45 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@ ifneq ($(shell test -d .git), 0)
 GIT_SHORT_HASH:= $(shell git rev-parse --short HEAD)
 endif
 
-VERSION_MAJOR = 0
-VERSION_MINOR = 8
+VERSION_MAJOR = 1
+VERSION_MINOR = 0
 VERSION_PATCH = 0
 
 VERSION = $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)-$(GIT_SHORT_HASH)
@@ -27,13 +27,14 @@ generic:
        cd build_generic && cmake -G"Unix Makefiles"          \
        $(COMMON_DEFINITIONS)                                 \
        -DCMAKE_TOOLCHAIN_FILE=../toolchain/generic.cmake ..
-       
-bf518:
-       rm -R -f build_bf518
-       mkdir build_bf518
-       cd build_bf518 && cmake -G"Unix Makefiles"            \
+
+mingw:
+       rm -R -f build_mingw
+       mkdir build_mingw
+       cd build_mingw && cmake -G"Unix Makefiles"          \
        $(COMMON_DEFINITIONS)                                 \
-       -DCMAKE_TOOLCHAIN_FILE=../toolchain/bf518.cmake ..
+       -DWIN32=1 \
+       -DCMAKE_TOOLCHAIN_FILE=../toolchain/mingw.cmake ..
 
 avrxmega7:
        rm -R -f build_avrxmega7
@@ -77,17 +78,18 @@ 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:
        rm -R -f build_*
        rm -R -f ext_images
-       
-unpack_images:
-       rm -R -f ext_images
-       7z x ext_images.7z
 
        
 include fs_test.mk