mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-20 02:10:12 +00:00
c36ca76bb8
* Makefile.am: * examples/*: added the rest of the tutorial examples
20 lines
394 B
Makefile
20 lines
394 B
Makefile
|
|
CC = gcc
|
|
|
|
all: menu menufactory
|
|
|
|
menu: menu.c
|
|
$(CC) `gtk-config --cflags` `gtk-config --libs` menu.c -o menu
|
|
|
|
menufactory: menufactory.o mfmain.o
|
|
$(CC) `gtk-config --libs` menufactory.o mfmain.o -o menufactory
|
|
|
|
menufactory.o:
|
|
$(CC) `gtk-config --cflags` -c menufactory.c -o menufactory.o
|
|
|
|
mfmain.o:
|
|
$(CC) `gtk-config --cflags` -c mfmain.c -o mfmain.o
|
|
|
|
clean:
|
|
rm -f *.o menu menufactory
|