diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |