summaryrefslogtreecommitdiff
path: root/lib/Makefile
blob: 8dda35651170a55faa7139bd2ea5100b48e4c59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

CPPFLAGS=-Wall -g -O3 -mcpu=i686 -Werror -I../includes -DHAVE_ZLIB -DUSE_CDREADER -DDEBUG `baltisot-config --cflags`
CXX=g++

OBJECTS = cdutils.o lzss.o yazedc.o cdreader.o cdabstract.o
TARGET = lib.a

all: ${TARGET}

lib.a: ${OBJECTS}
	ar -r lib.a ${OBJECTS}
	ranlib lib.a

clean:
	rm -f *.o ${TARGET} compil.c