blob: e745a641aeee01a6b01d7d89055b0f5ca90f2017 (
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
|
#!/usr/bin/make -f
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror
CXX=g++
TARGET = lzss dlzss yazedc cd-tool dte-tool str-tool
all: ${TARGET}
lzss: lzss.cpp lzss.h generic.cpp generic.h fileutils.h fileutils.cpp
${CXX} ${CPPFLAGS} ${LDFLAGS} -DLZSS_MAIN lzss.cpp generic.cpp fileutils.cpp -o lzss
dlzss: lzss
ln -fs lzss dlzss
yazedc: yazedc.cpp crctables crctable.out
${CXX} ${CPPFLAGS} ${LDFLAGS} yazedc.cpp -DMAIN -o yazedc
cd-tool: cd-tool.cpp cdutils.cpp cdutils.h fileutils.cpp fileutils.h generic.cpp generic.h yazedc.cpp yazedc.h
${CXX} ${CPPFLAGS} ${LDFLAGAS} cd-tool.cpp cdutils.cpp fileutils.cpp yazedc.cpp generic.cpp -o cd-tool
dte-tool-asm: dteutils.cpp generic.h generic.cpp fileutils.cpp fileutils.h dte-asm.S
${CXX} ${CPPFLAGS} ${LDFLAGS} dteutils.cpp generic.cpp fileutils.cpp dte-asm.S -o dte-tool-asm -DUSEASM -DDTEMAIN
dte-tool: dteutils.cpp generic.h generic.cpp fileutils.cpp fileutils.h
${CXX} ${CPPFLAGS} ${LDFLAGS} dteutils.cpp generic.cpp fileutils.cpp -o dte-tool -DDTEMAIN
str-tool: str-util.cpp generic.h generic.cpp fileutils.cpp fileutils.h
${CXX} ${CPPFLAGS} ${LDFLAGS} str-util.cpp generic.cpp fileutils.cpp -o str-tool -DSTR_MAIN
clean:
rm -f *.o ${TARGET} compil.c
|