seed r725 - trunk/examples/turtle



Author: hortont
Date: Wed Jan 14 05:35:40 2009
New Revision: 725
URL: http://svn.gnome.org/viewvc/seed?rev=725&view=rev

Log:
Use pkg-config to find Gtk for turtle example.


Modified:
   trunk/examples/turtle/Makefile.am

Modified: trunk/examples/turtle/Makefile.am
==============================================================================
--- trunk/examples/turtle/Makefile.am	(original)
+++ trunk/examples/turtle/Makefile.am	Wed Jan 14 05:35:40 2009
@@ -1,7 +1,7 @@
 if BUILD_TURTLE_EXAMPLE
 
 AM_CPPFLAGS = \
-	$(SEED_CFLAGS)
+	$(SEED_CFLAGS) `pkg-config --cflags gtk+-2.0`
 
 AM_CFLAGS =\
 	 -Wall -I../../libseed
@@ -12,10 +12,10 @@
 	turtle.c
 
 seed_turtle_LDFLAGS = \
-	-L../../libseed/.libs -lseed
+	-L../../libseed/.libs -lseed `pkg-config --libs gtk+-2.0`
 
 seed_turtle_LDADD = \
 	$(SEED_LIBS) \
 	-lseed
 
-endif
\ No newline at end of file
+endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]