summaryrefslogtreecommitdiff
path: root/examples/menu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/menu/Makefile')
-rw-r--r--examples/menu/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/examples/menu/Makefile b/examples/menu/Makefile
index b9db74f44f..4b94bb99b9 100644
--- a/examples/menu/Makefile
+++ b/examples/menu/Makefile
@@ -1,19 +1,13 @@
CC = gcc
-all: menu menufactory
+all: menu itemfactory
menu: menu.c
$(CC) `gtk-config --cflags` menu.c -o menu `gtk-config --libs`
-menufactory: menufactory.o mfmain.o
- $(CC) `gtk-config --libs` menufactory.o mfmain.o -o menufactory
-
-menufactory.o: menufactory.c mfmain.h
- $(CC) `gtk-config --cflags` -c menufactory.c -o menufactory.o
-
-mfmain.o: mfmain.c mfmain.h menufactory.h
- $(CC) `gtk-config --cflags` -c mfmain.c -o mfmain.o
+itemfactory: itemfactory.c
+ $(CC) `gtk-config --cflags` itemfactory.c -o itemfactory `gtk-config --libs`
clean:
- rm -f *.o menu menufactory
+ rm -f *.o menu itemfactory