summaryrefslogtreecommitdiff
path: root/lib/Makefile
blob: 9fbb4b34df33bf4f38f8902006da713b3f5201fc (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 -pedantic -pedantic-errors -Werror -I../includes
CXX=g++

OBJECTS = cdutils.o dteutils.o lzss.o yazedc.o
TARGET = lib.a

all: ${TARGET}

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

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