]> Pileus Git - ~andy/gtk/blobdiff - examples/helloworld/Makefile
Convert to use pkg-config rather than gtk-config. (#53375, Skip Montanaro)
[~andy/gtk] / examples / helloworld / Makefile
index fc25f04f6126b5858d33f4e29d8708a9ef183c99..1a60bc6e4ded8804ca49573e948ead9522b3f272 100644 (file)
@@ -2,7 +2,7 @@
 CC = gcc
 
 helloworld: helloworld.c 
-       $(CC) `gtk-config --cflags`  helloworld.c -o helloworld `gtk-config --libs`
+       $(CC) `pkg-config --cflags gtk+-2.0`  helloworld.c -o helloworld `pkg-config --libs gtk+-2.0`
 
 clean: 
        rm -f *.o helloworld