summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tool/Makefile b/src/tool/Makefile
index 12f62e373..c3de27b68 100644
--- a/src/tool/Makefile
+++ b/src/tool/Makefile
@@ -1,4 +1,4 @@
-all: adduser convert
+all: adduser convert mapcache
adduser:
$(CC) -o ../../tools/$@ adduser.c
@@ -6,5 +6,9 @@ adduser:
convert:
$(CC) -o ../../tools/$@ convert.c
+mapcache:
+ $(MAKE) -C ../zlib
+ $(CC) -o ../../$@ mapcache.c ../zlib/unz.o
+
clean:
- rm -rf ../../tools/adduser ../../tools/convert
+ rm -rf ../../tools/adduser ../../tools/convert ../../mapcache