summaryrefslogtreecommitdiff
path: root/lib/Makefile
blob: b3d7399e4d70ef0e5bbfdc5e8e0a3adef8c4c589 (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 -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 mips.o mipsmem.o mipsdis.o mipsdump.o
TARGET = lib.a

all: ${TARGET}

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

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