gtk2/examples/menu/Makefile
BST 1998 Tony Gale 4268cd7312 add correct dependencies
Thu Apr  2 17:30:04 BST 1998 Tony Gale <gale@gtk.org>

        * examples/gtkdial/Makefile,
          examples/menu/Makefile,
          examples/tictactoe/Makefile : add correct dependencies
1998-04-02 15:33:36 +00:00

20 lines
449 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: 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
clean:
rm -f *.o menu menufactory