summaryrefslogtreecommitdiff
path: root/ToF/Makefile
diff options
context:
space:
mode:
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