blob: 1444f44a2495d8511de2754f8c2ddbdf526cd80d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/make -f
CPPFLAGS=-Wall -g -O3 -mcpu=i686 -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 = 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
|