|
From: Gilles M. <kr...@us...> - 2004-09-27 20:35:15
|
Update of /cvsroot/epfl/tggame In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3144 Modified Files: Makefile Makefile.Linux Makefile.OSX Log Message: Modification des Makefile afin d'ajouter les cibles : linux, linuxDebug, mac et macDebug Index: Makefile =================================================================== RCS file: /cvsroot/epfl/tggame/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 27 Sep 2004 14:29:35 -0000 1.3 --- Makefile 27 Sep 2004 20:35:00 -0000 1.4 *************** *** 1,20 **** ! # TG Makefile ! CFLAGS = -ggdb -pg ! INCLUDEPATH = -I/usr/include/SDL -I./ -I../tgengine ! LINKPATH = -L../tgengine/out ! LIBS = -lGL -lSDL -lGLU -ltgengine -ljpeg -lm ! OBJ_EXT = o ! OBJSRC = $(wildcard *.cc) ! OBJS = $(addsuffix .${OBJ_EXT}, $(basename $(OBJSRC))) ! CC = g++ ! .cc.${OBJ_EXT}: ! $(CC) -c $(CFLAGS) -Wall $(INCLUDEPATH) $< -o $@ ! all: $(OBJS) ! g++ -o tg $(INCLUDEPATH) $(LINKPATH) $(LIBS) $(OBJS) ! ! clean: rm -f tg rm -f *.o ! rm -f *~ --- 1,23 ---- ! ## TG Engine Makefile ! # Ajoutez -DTGHIGHDEF pour construire la version haute resolution (stencil shadows, dot3 bump) ! ## ! all : linux ! clean : rm -f tg rm -f *.o ! rm -f *~ ! ! linux : ! make -f Makefile.Linux ! ! linuxDebug : ! make -f Makefile.Linux "CFLAGS = -ggdb -DDEBUG -DTGLINUX -pg" ! ! mac : ! make -f Makefile.OSX ! ! macDebug : ! make -f Makefile.OSX "CFLAGS = -ggdb -DDEBUG -DTGOSX -pg" ! Index: Makefile.Linux =================================================================== RCS file: /cvsroot/epfl/tggame/Makefile.Linux,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.Linux 27 Sep 2004 19:57:27 -0000 1.1 --- Makefile.Linux 27 Sep 2004 20:35:00 -0000 1.2 *************** *** 1,4 **** # TG Makefile ! CFLAGS = -ggdb -pg INCLUDEPATH = -I/usr/include/SDL -I./ -I../tgengine LINKPATH = -L../tgengine/out --- 1,4 ---- # TG Makefile ! CFLAGS = -O3 -DTGLINUX INCLUDEPATH = -I/usr/include/SDL -I./ -I../tgengine LINKPATH = -L../tgengine/out Index: Makefile.OSX =================================================================== RCS file: /cvsroot/epfl/tggame/Makefile.OSX,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.OSX 27 Sep 2004 19:57:27 -0000 1.1 --- Makefile.OSX 27 Sep 2004 20:35:00 -0000 1.2 *************** *** 1,4 **** # TG Makefile ! CFLAGS = -DTGOSX -ggdb -pg INCLUDEPATH = -I/sw/include/SDL -I./ -I../tgengine LINKPATH = -L../tgengine/out --- 1,4 ---- # TG Makefile ! CFLAGS = -DTGOSX -03 INCLUDEPATH = -I/sw/include/SDL -I./ -I../tgengine LINKPATH = -L../tgengine/out |