diff options
author | pixel <pixel> | 2003-09-05 23:50:16 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-09-05 23:50:16 +0000 |
commit | 44adf768555ecd211f90cbf4d87b44ba42044d86 (patch) | |
tree | 662018d76d3f2f19ed58ea8e94c54445fc2a47e4 /PE/Makefile | |
parent | 7ff77f49e9577ff5b63d7f2e2ce7651257bf1d63 (diff) |
Continuing toying
Diffstat (limited to 'PE/Makefile')
-rw-r--r-- | PE/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PE/Makefile b/PE/Makefile new file mode 100644 index 0000000..d12149e --- /dev/null +++ b/PE/Makefile @@ -0,0 +1,27 @@ +#!/usr/bin/make -f
+
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -I../includes -DHAVE_ZLIB `baltisot-config --cflags`
+CXX=g++
+CC=gcc
+LEX=flex -l
+
+LIBS=-lz
+#-lefence
+LDFLAGS=${LIBS} `baltisot-config --libs`
+#`pkg-config --libs glib-2.0`
+
+TARGET = reinsert compil extract extract-various extract-rooms
+
+all: ${TARGET}
+
+reinsert: reinsert.o ../includes/cdutils.h ../includes/yazedc.h ../lib/lib.a Makefile
+ ${CXX} ${LDFLAGS} reinsert.o ../lib/lib.a -o reinsert
+
+compil: compil.o
+ ${CC} ${LDFLAGS} compil.o -o compil
+
+compil.c: compil.lex
+ ${LEX} -ocompil.c compil.lex
+
+clean:
+ rm -f *.o ${TARGET} compil.c
|