SOURCES: tgui-Makefile.patch - use LDFLAGS

lisu lisu at pld-linux.org
Sat Aug 18 20:44:38 CEST 2007


Author: lisu                         Date: Sat Aug 18 18:44:38 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use LDFLAGS

---- Files affected:
SOURCES:
   tgui-Makefile.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/tgui-Makefile.patch
diff -u SOURCES/tgui-Makefile.patch:1.1 SOURCES/tgui-Makefile.patch:1.2
--- SOURCES/tgui-Makefile.patch:1.1	Wed Aug  1 23:16:55 2007
+++ SOURCES/tgui-Makefile.patch	Sat Aug 18 20:44:33 2007
@@ -1,15 +1,16 @@
---- tgui-0.9/Makefile~	2007-08-01 23:11:52.000000000 +0200
-+++ tgui-0.9/Makefile	2007-08-01 23:11:49.000000000 +0200
-@@ -1,6 +1,7 @@
+--- tgui-0.9/Makefile~	2007-08-18 20:11:16.000000000 +0200
++++ tgui-0.9/Makefile	2007-08-18 20:11:15.000000000 +0200
+@@ -1,6 +1,8 @@
 -PREFIX=/usr/local
 +PREFIX=/usr
  FLAGS=
++LDFLAGS=
  INCLUDES=.
 +CXX=
  
  all: lib examples
  
-@@ -9,19 +10,20 @@
+@@ -9,19 +11,20 @@
  	ranlib libtgui.a
  
  tgui.o: tgui.cpp TGUI/tgui.h
@@ -24,7 +25,7 @@
  
  awexamp: libtgui.a awexamp.cpp
 -	g++ $(FLAGS) awexamp.cpp -o awexamp -L. -ltgui `allegro-config --libs`
-+	$(CXX) $(FLAGS) awexamp.cpp -o awexamp -L. -ltgui `allegro-config --libs`
++	$(CXX) $(FLAGS) $(LDFLAGS) awexamp.cpp -o awexamp -L. -ltgui `allegro-config --libs`
  
  install:
 -	cp -R TGUI $(PREFIX)/include
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/tgui-Makefile.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list