summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <Pixel>2002-08-25 14:39:48 +0000
committerPixel <Pixel>2002-08-25 14:39:48 +0000
commit38d60726082b04e79edae1c8c797c6dcb8314504 (patch)
tree4a056a158c6fc21c29dd8d8ed94c010a25cee19a /Makefile
parent1b0a5db816b7610c83615e93095155b1709f55da (diff)
Workiiiiiiiiiiiiiiiiiing!!!!
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile32
1 files changed, 16 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 04aaecb..46dad1d 100755
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
#!/usr/bin/make -f
-CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -Iincludes `sdl-config --cflags`
-LDFLAGS=`sdl-config --libs`
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -Iincludes `sdl-config --cflags` -DHAVE_ZLIB
+LDFLAGS=`sdl-config --libs` -lz -lefence
CXX=g++
-SUBDIRS = psxdev generic lib Xenogears VP MegamanX5
+SUBDIRS = psxdev generic lib Xenogears
TARGET = lzss dlzss cd-tool str-player crypto-search bgrep dte-tool
all: subdirs ${TARGET}
@@ -12,29 +12,29 @@ all: subdirs ${TARGET}
subdirs:
for d in ${SUBDIRS} ; do make -C $$d || exit -1 ; done
-lzss: includes/lzss.h includes/generic.h includes/fileutils.h lzss-main.o generic/generic.a lib/lib.a Makefile
- ${CXX} ${LDFLAGS} -DLZSS_MAIN lzss-main.o lib/lib.a generic/generic.a -o lzss
+lzss: includes/lzss.h includes/generic.h lzss-main.o generic/generic.a lib/lib.a Makefile
+ ${CXX} -DLZSS_MAIN lzss-main.o lib/lib.a generic/generic.a -o lzss ${LDFLAGS}
dlzss: lzss Makefile
ln -fs lzss dlzss
yazedc: yazedc-main.o lib/lib.a Makefile
- ${CXX} ${LDFLAGS} yazedc-main.o lib/lib.a -DMAIN -o yazedc
+ ${CXX} yazedc-main.o lib/lib.a -DMAIN -o yazedc ${LDFLAGS}
-cd-tool: includes/cdutils.h includes/fileutils.h includes/generic.h includes/yazedc.h cd-tool.o Makefile
- ${CXX} ${LDFLAGAS} cd-tool.o lib/lib.a generic/generic.a -o cd-tool
+cd-tool: includes/cdutils.h includes/generic.h includes/yazedc.h cd-tool.o Makefile
+ ${CXX} cd-tool.o lib/lib.a generic/generic.a -o cd-tool ${LDFLAGS}
-dte-tool: includes/generic.h includes/fileutils.h includes/dte.h dtemain.o lib/lib.a generic/generic.a Makefile
- ${CXX} ${LDFLAGS} dtemain.o lib/lib.a generic/generic.a -o dte-tool
+dte-tool: includes/generic.h includes/dte.h dtemain.o lib/lib.a generic/generic.a Makefile
+ ${CXX} dtemain.o lib/lib.a generic/generic.a -o dte-tool ${LDFLAGS}
-str-player: str-player.o includes/generic.h includes/fileutils.h includes/cdutils.h includes/yazedc.h lib/lib.a generic/generic.a psxdev/psxdev.a Makefile
- ${CXX} ${LDFLAGS} str-player.o psxdev/psxdev.a lib/lib.a generic/generic.a -o str-player
+str-player: str-player.o includes/generic.h includes/cdutils.h includes/yazedc.h lib/lib.a generic/generic.a psxdev/psxdev.a Makefile
+ ${CXX} str-player.o psxdev/psxdev.a lib/lib.a generic/generic.a -o str-player ${LDFLAGS}
-crypto-search: crypto-search.o includes/generic.h includes/fileutils.h lib/lib.a generic/generic.a Makefile
- ${CXX} ${LDFLAGS} crypto-search.o lib/lib.a generic/generic.a -o crypto-search
+crypto-search: crypto-search.o includes/generic.h lib/lib.a generic/generic.a Makefile
+ ${CXX} crypto-search.o lib/lib.a generic/generic.a -o crypto-search ${LDFLAGS}
-bgrep: bgrep.o includes/generic.h includes/fileutils.h generic/generic.a Makefile
- ${CXX} ${LDFLAGS} bgrep.o generic/generic.a -o bgrep
+bgrep: bgrep.o includes/generic.h generic/generic.a Makefile
+ ${CXX} bgrep.o generic/generic.a -o bgrep ${LDFLAGS}
clean:
for d in ${SUBDIRS} ; do make -C $$d clean || exit -1 ; done