SOURCES: scalar-Makefile.patch (NEW) - make use of CXXFLAGS

shadzik shadzik at pld-linux.org
Sat Oct 28 16:33:09 CEST 2006


Author: shadzik                      Date: Sat Oct 28 14:33:08 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- make use of CXXFLAGS

---- Files affected:
SOURCES:
   scalar-Makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/scalar-Makefile.patch
diff -u /dev/null SOURCES/scalar-Makefile.patch:1.1
--- /dev/null	Sat Oct 28 16:33:08 2006
+++ SOURCES/scalar-Makefile.patch	Sat Oct 28 16:33:03 2006
@@ -0,0 +1,18 @@
+--- Makefile	2004-10-07 09:19:18.000000000 +0200
++++ Makefile-new	2006-10-28 16:31:04.000000000 +0200
+@@ -26,13 +26,14 @@
+ PROGRAM = scalar
+ OBJECTS = scalar.o hiscore.o njamfont.o njamutils.o
+ CC = g++
++CXXFLAGS=
+ 
+ # If you hate warnings under Cygwin use these flags instead
+ # MY_CFLAGS = -I/usr/local/include/SDL -Dmain=SDL_main -DWIN32 -Uunix -mno-cygwin
+ MY_CFLAGS = `sdl-config --cflags`
+ 
+ %.o:	%.cpp
+-	$(CC) -O3 -c $(MY_CFLAGS) $< -o $@
++	$(CC) $(CXXFLAGS) -c $(MY_CFLAGS) $< -o $@
+ 
+ all:	$(PROGRAM)
+ 
================================================================


More information about the pld-cvs-commit mailing list