From 44adf768555ecd211f90cbf4d87b44ba42044d86 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 5 Sep 2003 23:50:16 +0000 Subject: Continuing toying --- PE/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 PE/Makefile (limited to 'PE/Makefile') 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 -- cgit v1.2.3