diff options
-rwxr-xr-x | mogltk/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mogltk/Makefile b/mogltk/Makefile new file mode 100755 index 0000000..510baa6 --- /dev/null +++ b/mogltk/Makefile @@ -0,0 +1,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 |