Преглед изворни кода

Updated the src/tool/Makefile to allow compiling the mapcache builder
I don't have an available Unix environment here, so it's very likely it won't work x_x feedback please

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10012 54d463be-8e91-2dee-dedb-b68131a5f0ec

DracoRPG пре 18 година
родитељ
комит
4f95fcb339
1 измењених фајлова са 6 додато и 2 уклоњено
  1. 6 2
      src/tool/Makefile

+ 6 - 2
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