comparison Makefile @ 66:6ee701e2d8d9

Update compilation instructions and add new targets to build.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Aug 2017 15:15:23 +0300
parents 7daf69b39f34
children e2415dd9b6b1
comparison
equal deleted inserted replaced
65:4aec80a03cb0 66:6ee701e2d8d9
22 MINGW_PATH=/usr/x86_64-w64-mingw32 22 MINGW_PATH=/usr/x86_64-w64-mingw32
23 23
24 $(DATA): 24 $(DATA):
25 cd $(BPATH)/data && $(DMLIB)/tools/packed -p $@ -c -x \*~ -v * 25 cd $(BPATH)/data && $(DMLIB)/tools/packed -p $@ -c -x \*~ -v *
26 26
27 tools:
28 cd $(DMLIB) && cp config.mak.in config.mak && make -j4
29
30 data: tools $(DATA)
31
27 package: linux-bin mingw-win32 $(DATA) 32 package: linux-bin mingw-win32 $(DATA)
28 strip $(BINPATH)/*.bin $(BINPATH)/*.exe 33 strip $(BINPATH)/*.bin $(BINPATH)/*.exe
29 $(RM) $(PACKAGE) 34 $(RM) $(PACKAGE)
30 @cp SDL.dll LICENSE.txt README.txt file_id.diz $(BINPATH) 35 @cp SDL.dll LICENSE.txt README.txt file_id.diz $(BINPATH)
31 cd $(BINPATH) && zip -x "*~" -9 $(PACKAGE) * 36 cd $(BINPATH) && zip -x "*~" -9 $(PACKAGE) *