mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-04-30 12:14:26 +02:00
Add GTK+ example
This commit is contained in:
14
gtk/Makefile
Normal file
14
gtk/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user