changeset 30:e53990e89a52

Add build targets "tools" and "data".
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Aug 2017 15:14:01 +0300
parents b34c3eec7190
children c07664f7d87b
files Makefile
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Aug 19 17:48:17 2017 +0300
+++ b/Makefile	Mon Aug 21 15:14:01 2017 +0300
@@ -24,6 +24,11 @@
 $(DATA):
 	cd $(BPATH)/data && $(DMLIB)/tools/packed -p $@ -c -x \*~ -v *
 
+tools:
+	cd $(DMLIB) && cp config.mak.in config.mak && make -j4
+
+data: tools $(DATA)
+
 package: linux-bin mingw-win32 $(DATA)
 	strip $(BINPATH)/*.bin $(BINPATH)/*.exe
 	$(RM) $(PACKAGE)