all : wideget GTK_CONFIG:=$(shell pkg-config --libs --cflags gtk+-2.0) GNOME_INCLUDES:=-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0\ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo\ -I/usr/include/pango-1.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include\ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 CFLAGS:=-g LDFLAGS:=$(GTK_CONFIG) tray.o : tray.c cc -c -o $@ $^ $(CFLAGS) $(GTK_CONFIG) wideget : tray.o inifile.o cnutil.o wideget.o chash.o os_generic.o gcc -o $@ $^ $(LDFLAGS) clean : rm -rf wideget *.o *~