forked from AuroraMiddleware/gtk
a77c4da512
1998-11-07 Jay Cox <jaycox@earthlink.net> * gtk/gtkwindow.c: forward declaration for gtk_window_paint * gdk/gdkxid.c: declare xid_ht static * examples/*/Makefile: get the link ordering right.
20 lines
449 B
Makefile
20 lines
449 B
Makefile
|
|
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
|