[Scummvm-cvs-logs] CVS: tools Makefile,1.5,1.6

Max Horn fingolfin at users.sourceforge.net
Fri Nov 29 07:10:05 CET 2002


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv13617

Modified Files:
	Makefile 
Log Message:
fixed Makefile

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/tools/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile	29 Nov 2002 14:55:08 -0000	1.5
+++ Makefile	29 Nov 2002 15:09:53 -0000	1.6
@@ -1,10 +1,13 @@
 SRC=.
 
-CC      = cc
-CXX     = c++
-CFLAGS  = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -DSCUMM_BIG_ENDIAN
+CC      _= gcc
+CXX     := g++
+CFLAGS  := -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
 LDFLAGS :=
 
+# Uncomment this if you are on a big endian system
+# CFLAGS += -DSCUMM_BIG_ENDIAN
+
 TARGETS := descumm3$(EXEEXT) descumm5$(EXEEXT) descumm6$(EXEEXT) extract$(EXEEXT) rescumm$(EXEEXT) simon2mp3$(EXEEXT)
 
 all: $(TARGETS)
@@ -32,4 +35,7 @@
 	rm -f *.o $(TARGETS)
 
 .cpp.o:
+	$(CXX) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
+
+.c.o:
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o





More information about the Scummvm-git-logs mailing list