blob: b9db74f44f7e107ab0a5b30c0075c3d4e55f6dd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
CC = gcc
all: menu menufactory
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
clean:
rm -f *.o menu menufactory
|