changeset 20:9405ee2751b9

Depencies updated
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 09 Dec 2006 20:08:32 +0000
parents eb78e754b80b
children 48bb78198289
files Makefile.gen
diffstat 1 files changed, 12 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Sat Dec 09 20:08:22 2006 +0000
+++ b/Makefile.gen	Sat Dec 09 20:08:32 2006 +0000
@@ -32,10 +32,10 @@
 %.o: %.c %.h
 	$(COMP) -c -o $@ $<
 
-$(MKMAP_BIN): mkmap.c th_args.o th_util.o th_string.o
+$(MKMAP_BIN): mkmap.c maputils.o th_args.o th_util.o th_string.o
 	$(COMP) -o $@ $+ $(LDFLAGS)
 
-$(COLORMAP_BIN): colormap.c maputils.o
+$(COLORMAP_BIN): colormap.c maputils.o th_util.o
 	$(COMP) -o $@ $+ $(LDFLAGS)
 
 $(MAKEBCMAP_BIN): mkbcmap.c th_util.o th_string.o maputils.o
@@ -46,10 +46,10 @@
 
 
 %.cmap: %.raw $(MKMAP_BIN)
-	$(MKMAP_BIN) -o $@ -r 800 -w 21 -h 21 $< -v -m 80
+	$(MKMAP_BIN) -o $@ -r 10 -w 21 -h 21 $< -v -d -m 80
 
 %.map: %.raw $(MKMAP_BIN)
-	$(MKMAP_BIN) -o $@ -r 800 -w 13 -h 7 $< -v -m 70
+	$(MKMAP_BIN) -o $@ -r 10 -w 13 -h 7 $< -v -d -m 70
 
 
 batcity.html: $(MAKEBCMAP_BIN) batcity2.cmap batcity.cnam tooltip.js
@@ -65,9 +65,14 @@
 lanzia.html: lanzia.map $(COLORMAP_BIN)
 	$(COLORMAP_BIN) "The isle of Lanzia" < $< > $@
 
-batmap.txt:
-	wget -q -O batmap.txt http://www.bat.org/maps/batmap.txt
-	/bin/cp batmap.txt batmap-`date +"%d-%m-%Y"`.txt
+laenor.txt: laenor.initial /home/ccr/tiny.log $(MKMAP_BIN)
+	$(MKMAP_BIN) -r 10 -w 31 -h 30 -m 62 -v				\
+	-s "You look into sky without seeing and say (wizard eye)"	\
+	-I $< /home/ccr/tiny.log -o $@
+
+laenor.html: laenor.txt $(COLORMAP_BIN)
+	$(COLORMAP_BIN) "Continent of Laenor @ BatMUD mapped by Ggr (I have no life :D)" < $< > $@
+	scp $@ mhamalai@students.oamk.fi:public_html/
 
 batmap.html: batmap.txt $(COLORMAP_BIN)
 	$(COLORMAP_BIN) "BatMUD World Map in colour" < $< > $@