summaryrefslogtreecommitdiff
path: root/VP
diff options
context:
space:
mode:
authorPixel <Pixel>2002-06-23 12:49:24 +0000
committerPixel <Pixel>2002-06-23 12:49:24 +0000
commit7514019f385767caf7e68ae281d3a4befb7b4e8f (patch)
tree665e8ccd111ebdadd98a9bebb1813d639d65bfe1 /VP
parent54c77d2cb0f734615febdb3cb33548bf4cd6e953 (diff)
Makefile arrangement...
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: