1998-03-31 23:43:49 +00:00
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
all: menu menufactory
|
|
|
|
|
|
|
|
menu: menu.c
|
1998-11-07 16:12:37 +00:00
|
|
|
$(CC) `gtk-config --cflags` menu.c -o menu `gtk-config --libs`
|
1998-03-31 23:43:49 +00:00
|
|
|
|
|
|
|
menufactory: menufactory.o mfmain.o
|
|
|
|
$(CC) `gtk-config --libs` menufactory.o mfmain.o -o menufactory
|
|
|
|
|
1998-04-02 15:33:36 +00:00
|
|
|
menufactory.o: menufactory.c mfmain.h
|
1998-03-31 23:43:49 +00:00
|
|
|
$(CC) `gtk-config --cflags` -c menufactory.c -o menufactory.o
|
|
|
|
|
1998-04-02 15:33:36 +00:00
|
|
|
mfmain.o: mfmain.c mfmain.h menufactory.h
|
1998-03-31 23:43:49 +00:00
|
|
|
$(CC) `gtk-config --cflags` -c mfmain.c -o mfmain.o
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o menu menufactory
|