Add GTK+ example

This commit is contained in:
Juraj Michalek
2012-11-25 18:05:51 +01:00
parent 7a75ba2b50
commit 2f8a23729c
2 changed files with 56 additions and 0 deletions

14
gtk/Makefile Normal file
View File

@@ -0,0 +1,14 @@
PACKAGE = helloworld
OBJECTS = helloworld.o
CFLAGS = `pkg-config --cflags gtk+-3.0`
LDADD = `pkg-config --libs gtk+-3.0`
helloworld: $(OBJECTS)
${CC} -o ${PACKAGE} ${OBJECTS} ${LDADD}
.c.o:
${CC} ${CFLAGS} -c $<
clean:
rm -f helloworld *.o