summaryrefslogtreecommitdiff
path: root/mogltk/Makefile
blob: 4e99e898e30e64733e177254b3b1e5f8697cd76b (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 gltexture.o glfont.o
TARGET = mogltk.a

all: ${TARGET}

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

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