summaryrefslogtreecommitdiff
path: root/mogltk/Makefile
blob: 510baa639d42f7ec5d48672f32427c28cd1a4941 (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 `sdl-config --cflags`
CXX=g++

OBJECTS = glbase.o engine.o
TARGET = mogltk.a

all: ${TARGET}

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

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