summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <Pixel>2002-11-04 15:19:18 +0000
committerPixel <Pixel>2002-11-04 15:19:18 +0000
commitec510c6361cf39fe3d1cad02c77de887b9d70e7a (patch)
treecb4d50380b0dfb5ef693b691156d26742d0c7de9 /Makefile
parent419a05e177eb34815d6f8fad64654376805f1552 (diff)
Working on mogltk
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cd4f9d4..63950b4 100755
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
#!/usr/bin/make -f
-CPPFLAGS=-Wall -g -O3 -mcpu=i686 -pedantic -pedantic-errors -Werror -Iincludes `sdl-config --cflags` -DHAVE_ZLIB
-LDFLAGS=-lz `sdl-config --libs`
+CPPFLAGS=-Wall -g -O3 -mcpu=i686 -Werror -Iincludes `sdl-config --cflags` -DHAVE_ZLIB
+LDFLAGS=-lz `sdl-config --libs` -lGL
CXX=g++
-SUBDIRS = psxdev generic lib Xenogears VP MegamanX5 PcsxSrc
-TARGET = lzss dlzss cd-tool str-player crypto-search bgrep dte-tool ffx-convert
+SUBDIRS = psxdev generic lib Xenogears VP MegamanX5 mogltk
+TARGET = lzss dlzss cd-tool str-player crypto-search bgrep dte-tool ffx-convert gltest
all: subdirs ${TARGET}
@@ -39,6 +39,9 @@ bgrep: bgrep.o includes/generic.h generic/generic.a Makefile
ffx-convert: ffx-convert.o generic/generic.a Makefile
${CXX} ffx-convert.o generic/generic.a -o ffx-convert ${LDFLAGS}
+gltest: gltest.o mogltk/mogltk.a generic/generic.a Makefile
+ ${CXX} gltest.o mogltk/mogltk.a generic/generic.a -o gltest ${LDFLAGS}
+
clean:
for d in ${SUBDIRS} ; do make -C $$d clean || exit -1 ; done
rm -f *.o ${TARGET} compil.c