summaryrefslogtreecommitdiff
path: root/ToF/Makefile
blob: 6d644edc7d1ad8602acbeb5920df7fe0969a726f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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