From 28374301bfd1f96490c1906cd239be05af062953 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 23 May 2002 15:42:23 +0000 Subject: Whoups --- VP/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 VP/Makefile (limited to 'VP/Makefile') diff --git a/VP/Makefile b/VP/Makefile new file mode 100755 index 0000000..e24e983 --- /dev/null +++ b/VP/Makefile @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +CPPFLAGS=-Wall -g -I. -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror +CXX=g++ + +TARGET = lz77 dlz77 yazedc cd-tool 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 + +lz77: lz77.cpp lz77.h generic.cpp generic.h fileutils.h fileutils.cpp + ${CXX} ${CPPFLAGS} ${LDFLAGS} -DLZ77_MAIN lz77.cpp generic.cpp fileutils.cpp -o lz77 + +dlz77: lz77 + ln -fs lz77 dlz77 + +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 + +clean: + rm -f *.o ${TARGET} compil.c + +VP-CD1.sqr: VP-CD1.map + ./map2sqr < $< > $@ + +.map.sqr: + ./map2sqr < $< > $@ + +redo: clean all -- cgit v1.2.3