SOURCES: tgui-Makefile.patch (NEW) - fix some things with compiler...
lisu
lisu at pld-linux.org
Wed Aug 1 23:17:00 CEST 2007
Author: lisu Date: Wed Aug 1 21:17:00 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix some things with compiler and dirs
---- Files affected:
SOURCES:
tgui-Makefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/tgui-Makefile.patch
diff -u /dev/null SOURCES/tgui-Makefile.patch:1.1
--- /dev/null Wed Aug 1 23:17:00 2007
+++ SOURCES/tgui-Makefile.patch Wed Aug 1 23:16:55 2007
@@ -0,0 +1,37 @@
+--- 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 @@
+-PREFIX=/usr/local
++PREFIX=/usr
+ FLAGS=
+ INCLUDES=.
++CXX=
+
+ all: lib examples
+
+@@ -9,19 +10,20 @@
+ ranlib libtgui.a
+
+ tgui.o: tgui.cpp TGUI/tgui.h
+- g++ $(FLAGS) -I$(INCLUDES) -c tgui.cpp
++ $(CXX) $(FLAGS) -I$(INCLUDES) -c tgui.cpp
+
+ awidgets.o: awidgets.cpp TGUI/awidgets.h
+- g++ $(FLAGS) -c awidgets.cpp
++ $(CXX) $(FLAGS) -c awidgets.cpp
+
+ examples: awexamp
+
+ 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`
+
+ install:
+- cp -R TGUI $(PREFIX)/include
+- cp -R libtgui.a /usr/local/lib
++ cp -R TGUI $(DESTDIR)$(PREFIX)/include
++ cp -R libtgui.a $(DESTDIR)/usr/lib
++ cp -R awexamp $(DESTDIR)/usr/bin
+
+ clean:
+ rm -f libtgui.a *.o awexamp
================================================================
More information about the pld-cvs-commit
mailing list