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

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

OBJECTS = cdutils.o lzss.o yazedc.o cdreader.o cdabstract.o isobuilder.o \
luacd.o luapsx.o mips.o mipsmem.o mipsdis.o mipsdump.o mipsobj.o
TARGET = lib.a

all: ${TARGET}

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

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