summaryrefslogtreecommitdiff
path: root/ToF/Makefile
diff options
context:
space:
mode:
authorpixel <pixel>2003-02-19 21:28:54 +0000
committerpixel <pixel>2003-02-19 21:28:54 +0000
commitec2c97793151512f5dca3290dbd9f24a09b7ac6f (patch)
tree9b0908c3d6276440ba75d47a2463e21b95f7f4b9 /ToF/Makefile
parent13db4477d55e91d9a3680512e06074331665a368 (diff)
Yay to Tales of Fates... ^^;
Diffstat (limited to 'ToF/Makefile')
-rwxr-xr-xToF/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/ToF/Makefile b/ToF/Makefile
new file mode 100755
index 0000000..6d644ed
--- /dev/null
+++ b/ToF/Makefile
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -I../includes -DHAVE_ZLIB
+CXX=g++
+
+LIBS=-lz
+LDFLAGS=${LIBS}
+
+TARGET = main_dump ToF.sqr
+
+all: ${TARGET}
+
+main_dump: main_dump.o ../includes/cdutils.h ../includes/generic.h ../lib/lib.a ../generic/generic.a Makefile
+ ${CXX} ${LDFLAGS} main_dump.o ../lib/lib.a ../generic/generic.a -o main_dump
+
+clean:
+ rm -f *.o ${TARGET}
+
+ToF.sqr: ToF.map Makefile
+ ./map2sqr < $< > $@
+
+.map.sqr:
+ ./map2sqr < $< > $@
+
+redo: clean all