summaryrefslogtreecommitdiff
path: root/Xenogears/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Xenogears/Makefile')
-rwxr-xr-xXenogears/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/Xenogears/Makefile b/Xenogears/Makefile
index 5fbefb7..2069324 100755
--- a/Xenogears/Makefile
+++ b/Xenogears/Makefile
@@ -1,33 +1,33 @@
#!/usr/bin/make -f
-CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -I../includes -DHAVE_ZLIB
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -I../includes -DHAVE_ZLIB `baltisot-config --cflags`
CXX=g++
CC=gcc
-LEX=flex
+LEX=flex -l
LIBS=-lz
#-lefence
-LDFLAGS=${LIBS}
+LDFLAGS=${LIBS} `baltisot-config --libs`
#`pkg-config --libs glib-2.0`
TARGET = reinsert main_dump Decrypt script-comp script-dec XenoCD1.sqr XenoCD2.sqr compil compil-2
all: ${TARGET}
-main_dump: main_dump.o ../includes/cdutils.h ../includes/generic.h ../includes/yazedc.h ../lib/lib.a ../generic/generic.a Makefile
- ${CXX} main_dump.o ../lib/lib.a ../generic/generic.a -o main_dump ${LDFLAGS}
+main_dump: main_dump.o ../includes/cdutils.h ../includes/yazedc.h ../lib/lib.a Makefile
+ ${CXX} main_dump.o ../lib/lib.a -o main_dump ${LDFLAGS}
-reinsert: reinsert.o ../includes/cdutils.h ../includes/generic.h ../includes/yazedc.h ../lib/lib.a ../generic/generic.a Makefile
- ${CXX} ${LDFLAGS} reinsert.o ../lib/lib.a ../generic/generic.a -o reinsert
+reinsert: reinsert.o ../includes/cdutils.h ../includes/yazedc.h ../lib/lib.a Makefile
+ ${CXX} ${LDFLAGS} reinsert.o ../lib/lib.a -o reinsert
-Decrypt: Decrypt.o ../includes/generic.h ../generic/generic.a Makefile
- ${CXX} ${LDFLAGS} Decrypt.o ../generic/generic.a -o Decrypt
+Decrypt: Decrypt.o Makefile
+ ${CXX} ${LDFLAGS} Decrypt.o -o Decrypt
-script-comp: script-comp.o ../includes/generic.h ../includes/lzss.h ../lib/lib.a ../generic/generic.a Makefile
- ${CXX} ${LDFLAGS} script-comp.o ../lib/lib.a ../generic/generic.a -o script-comp
+script-comp: script-comp.o ../includes/lzss.h ../lib/lib.a Makefile
+ ${CXX} ${LDFLAGS} script-comp.o ../lib/lib.a -o script-comp
-script-dec: script-dec.o ../includes/generic.h ../includes/lzss.h ../lib/lib.a ../generic/generic.a Makefile
- ${CXX} ${LDFLAGS} script-dec.o ../lib/lib.a ../generic/generic.a -o script-dec
+script-dec: script-dec.o ../includes/lzss.h ../lib/lib.a Makefile
+ ${CXX} ${LDFLAGS} script-dec.o ../lib/lib.a -o script-dec
compil: compil.o
${CC} ${LDFLAGS} compil.o -o compil