Added version number to package folder (allow different versions of a package)
[fltk_mvc_template.git] / _template / Makefile
index 148bda6..bc13eb4 100644 (file)
@@ -12,7 +12,7 @@ create_installers: linux32_package linux_arm_package windows_package android_pac
 
 #### Dependencies
 freetype:
-       cd $(WORKDIR)/packages/freetype2; \
+       cd $(WORKDIR)/packages/freetype2.9.1; \
        make
 
 allegro:
@@ -24,27 +24,27 @@ nanox:
        make
 
 fltk:
-       cd $(WORKDIR)/packages/fltk1.3; \
+       cd $(WORKDIR)/packages/fltk1.3.4; \
        make
 
 tinyxml:
-       cd $(WORKDIR)/packages/tinyxml; \
+       cd $(WORKDIR)/packages/tinyxml2; \
        make
 
 libsndfile:
-       cd $(WORKDIR)/packages/libsndfile; \
+       cd $(WORKDIR)/packages/libsndfile1.0.28; \
        make
 
 libao:
-       cd $(WORKDIR)/packages/libao; \
+       cd $(WORKDIR)/packages/libao1.2.2; \
        make
 
 gtest:
-       cd $(WORKDIR)/packages/googletest; \
+       cd $(WORKDIR)/packages/googletest1.8.1; \
        make
 
 boost:
-       cd $(WORKDIR)/packages/boost; \
+       cd $(WORKDIR)/packages/boost1.68.0; \
        make
 
 #### _template App
@@ -55,7 +55,7 @@ _template:
 
 #### Clean
 clean_freetype:
-       cd $(WORKDIR)/packages/freetype2; \
+       cd $(WORKDIR)/packages/freetype2.9.1; \
        make clean
 
 clean_allegro:
@@ -67,27 +67,27 @@ clean_nanox:
        make clean
 
 clean_fltk:
-       cd $(WORKDIR)/packages/fltk1.3; \
+       cd $(WORKDIR)/packages/fltk1.3.4; \
        make clean
 
 clean_tinyxml:
-       cd $(WORKDIR)/packages/tinyxml; \
+       cd $(WORKDIR)/packages/tinyxml2; \
        make clean
 
 clean_libsndfile:
-       cd $(WORKDIR)/packages/libsndfile; \
+       cd $(WORKDIR)/packages/libsndfile1.0.28; \
        make clean
 
 clean_libao:
-       cd $(WORKDIR)/packages/libao; \
+       cd $(WORKDIR)/packages/libao1.2.2; \
        make clean
 
 clean_gtest:
-       cd $(WORKDIR)/packages/googletest; \
+       cd $(WORKDIR)/packages/googletest1.8.1; \
        make clean
 
 clean_boost:
-       cd $(WORKDIR)/packages/boost; \
+       cd $(WORKDIR)/packages/boost1.68.0; \
        make clean
 
 clean__template:
@@ -109,9 +109,9 @@ linux32_package:
        cp $(WORKDIR)/src/start__template $(WORKDIR)/install_package/linux32/
        cp $(WORKDIR)/src/start__template.desktop $(WORKDIR)/install_package/linux32/
        cp $(WORKDIR)/src/Icon.png $(WORKDIR)/install_package/linux32/
-       tar -zcvf $(WORKDIR)/install_package/install_linux32 -C $(WORKDIR)/install_package/linux32/ .
-       $(WORKDIR)/scripts/gen_package_linux.sh $(WORKDIR)/install_package/install_linux32
-       rm $(WORKDIR)/install_package/install_linux32 
+       tar -zcvf $(WORKDIR)/install_package/install__template_linux32 -C $(WORKDIR)/install_package/linux32/ .
+       $(WORKDIR)/scripts/gen_package_linux.sh $(WORKDIR)/install_package/install__template_linux32
+       rm $(WORKDIR)/install_package/install__template_linux32 
 
 linux_arm_package:
        mkdir -p $(WORKDIR)/install_package/linux_arm/lib
@@ -121,16 +121,16 @@ linux_arm_package:
        cp $(WORKDIR)/src/start__template $(WORKDIR)/install_package/linux_arm/
        cp $(WORKDIR)/src/start__template.desktop $(WORKDIR)/install_package/linux_arm/
        cp $(WORKDIR)/src/Icon.png $(WORKDIR)/install_package/linux_arm/
-       tar -zcvf $(WORKDIR)/install_package/install_linux_arm -C $(WORKDIR)/install_package/linux_arm/ .
-       $(WORKDIR)/scripts/gen_package_linux.sh $(WORKDIR)/install_package/install_linux_arm
-       rm $(WORKDIR)/install_package/install_linux_arm 
+       tar -zcvf $(WORKDIR)/install_package/install__template_linux_arm -C $(WORKDIR)/install_package/linux_arm/ .
+       $(WORKDIR)/scripts/gen_package_linux.sh $(WORKDIR)/install_package/install__template_linux_arm
+       rm $(WORKDIR)/install_package/install__template_linux_arm 
 
 windows_package:
        mkdir -p $(WORKDIR)/install_package/windows/
        cp $(WORKDIR)/src/bin/Release_Windows/_template.exe $(WORKDIR)/install_package/windows/
        cd $(WORKDIR)/scripts/; \
        ./gen_package_windows.sh $(WORKDIR)/install_package/windows/*; \
-       mv ./*.exe $(WORKDIR)/install_package/install_windows.exe
+       mv ./*.exe $(WORKDIR)/install_package/install__template_windows.exe
 
 android_package:
        mkdir -p $(WORKDIR)/install_package/