summaryrefslogtreecommitdiff
path: root/Xenogears/Makefile
diff options
context:
space:
mode:
authorpixel <pixel>2003-06-20 14:08:16 +0000
committerpixel <pixel>2003-06-20 14:08:16 +0000
commit30f218eb43414407ff8fad136ac1b14d419c29b5 (patch)
tree1e4c1dd71272f861daf90baced75fa604cdbf168 /Xenogears/Makefile
parent7fc9c6dfbef57331c8b5eae0943f3fe95f2e63e1 (diff)
Compiling again
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