diff options
Diffstat (limited to 'examples/menu/Makefile')
-rw-r--r-- | examples/menu/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/menu/Makefile b/examples/menu/Makefile new file mode 100644 index 0000000000..630d3f297e --- /dev/null +++ b/examples/menu/Makefile @@ -0,0 +1,19 @@ + +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 |