summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <Pixel>2002-11-04 15:20:51 +0000
committerPixel <Pixel>2002-11-04 15:20:51 +0000
commit3c66eb3ecfa32f3fc1ffdcc9ac584a32ecf6ddc3 (patch)
tree206476a4b3a619b35fb1bee2e2aaf526cd1744b9
parentec510c6361cf39fe3d1cad02c77de887b9d70e7a (diff)
Whooops, forgot a Makefile...
-rwxr-xr-xmogltk/Makefile16
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