summaryrefslogtreecommitdiff
path: root/VP/Makefile
blob: 608cf7e3646a11cfa940f706e791da795317eb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -I..
CXX=g++

TARGET = main_dump VP-CD1.sqr

all: ${TARGET}

main_dump: main_dump.o ../fileutils.o ../fileutils.h ../cdutils.o ../cdutils.h ../generic.o ../generic.h Makefile
	${CXX} ${LDFLAGS} main_dump.o ../yazedc.o ../fileutils.o ../cdutils.o ../generic.o -o main_dump

clean:
	rm -f *.o ${TARGET}

VP-CD1.sqr: VP-CD1.map Makefile
	./map2sqr < $< > $@

.map.sqr:
	./map2sqr < $< > $@

redo: clean all