summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc5b5e29..5b593c8f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,12 @@
-.PHONY: maps
+.PHONY: all maps conf
+all: maps conf
maps:
ant -f tools/tmwcon/build.xml
java -jar tools/tmwcon/converter.jar client-data/ world/map/
+% : | %.example
+ cp "$|" "$@"
+conf: \
+login/conf/login_local.conf login/conf/ladmin_local.conf login/save/gm_account.txt login/save/account.txt \
+world/map/conf/map_local.conf world/map/conf/battle_local.conf world/map/conf/motd.txt world/map/conf/help.txt world/map/conf/atcommand_local.conf \
+world/conf/char_local.conf
+