summaryrefslogtreecommitdiff
path: root/VP
diff options
context:
space:
mode:
Diffstat (limited to 'VP')
-rwxr-xr-xVP/Makefile24
1 files changed, 6 insertions, 18 deletions
diff --git a/VP/Makefile b/VP/Makefile
index 2a6deba..890516b 100755
--- a/VP/Makefile
+++ b/VP/Makefile
@@ -1,31 +1,19 @@
#!/usr/bin/make -f
-CPPFLAGS=-Wall -g -I. -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror
+CPPFLAGS=-Wall -g -I. -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -I..
CXX=g++
-TARGET = lzss dlzss yazedc cd-tool main_dump VP-CD1.sqr
+TARGET = main_dump VP-CD1.sqr
all: ${TARGET}
-main_dump: main_dump.cpp yazedc.cpp yazedc.h fileutils.cpp fileutils.h cdutils.cpp cdutils.h generic.cpp generic.h crctables crctable.out
- ${CXX} ${CPPFLAGS} ${LDFLAGS} main_dump.cpp yazedc.cpp fileutils.cpp cdutils.cpp generic.cpp -o main_dump
-
-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
+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} compil.c
+ rm -f *.o ${TARGET}
-VP-CD1.sqr: VP-CD1.map
+VP-CD1.sqr: VP-CD1.map Makefile
./map2sqr < $< > $@
.map.sqr: