summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8f4aa5a..4d79654 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` -DHAVE_ZLIB
-LDFLAGS=-lz
+LDFLAGS=-lz `sdl-config --libs`
CXX=g++
-SUBDIRS = psxdev generic lib Xenogears
+SUBDIRS = psxdev generic lib Xenogears VP MegamanX5 PcsxSrc
TARGET = lzss dlzss cd-tool str-player crypto-search bgrep dte-tool
all: subdirs ${TARGET}
@@ -19,9 +19,9 @@ dlzss: lzss Makefile
ln -fs lzss dlzss
yazedc: yazedc-main.o lib/lib.a Makefile
- ${CXX} yazedc-main.o lib/lib.a -DMAIN -o yazedc ${LDFLAGS}
+ ${CXX} yazedc-main.o lib/lib.a -DYAZEDC_MAIN -o yazedc ${LDFLAGS}
-cd-tool: includes/cdutils.h includes/generic.h includes/yazedc.h cd-tool.o Makefile
+cd-tool: includes/cdutils.h includes/generic.h includes/yazedc.h cd-tool.o lib/lib.a generic/generic.a Makefile
${CXX} cd-tool.o lib/lib.a generic/generic.a -o cd-tool ${LDFLAGS}
dte-tool: includes/generic.h includes/dte.h dtemain.o lib/lib.a generic/generic.a Makefile