blob: bc2acb388c71f5754ecde8561c109728d1dd2bf5 (
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
26
27
28
29
30
31
32
33
34
|
#!/usr/bin/make -f
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -I../includes -DHAVE_ZLIB `baltisot-config --cflags`
CXX=g++
LIBS=-lz
LDFLAGS=${LIBS} `baltisot-config --libs`
TARGET = main_dump VP-CD1.sqr decomp-slz unarc
all: ${TARGET}
main_dump: main_dump.o ../includes/cdutils.h ../lib/lib.a Makefile
${CXX} ${LDFLAGS} main_dump.o ../lib/lib.a -o main_dump
decomp-slz: decomp-slz.o ../includes/lzss.h Makefile
${CXX} ${LDFLAGS} decomp-slz.o ../lib/lib.a -o decomp-slz
unarc: unarc.o Makefile
${CXX} ${LDFLAGS} unarc.o -o unarc
search-script: search-script.o Makefile
${CXX} ${LDFLAGS} search-script.o -o search-script
clean:
rm -f *.o ${TARGET}
VP-CD1.sqr: VP-CD1.map Makefile
./map2sqr < $< > $@
.map.sqr:
./map2sqr < $< > $@
redo: clean all
|