--- kerneloops-0.12/Makefile 2008-04-09 18:02:24.000000000 -0400 +++ kerneloops-0.12/Makefile 2009-07-04 05:25:42.000000000 -0400 @@ -13,6 +13,7 @@ CC?=gcc CFLAGS := -O2 -g -fstack-protector -D_FORTIFY_SOURCE=2 -Wall -W -Wstrict-prototypes -Wundef -fno-common -Werror-implicit-function-declaration -Wdeclaration-after-statement MY_CFLAGS := `pkg-config --cflags libnotify gtk+-2.0` +MY_NOUI := `pkg-config --cflags glib-2.0 dbus-glib-1` # # pkg-config tends to make programs pull in a ton of libraries, not all # are needed. -Wl,--as-needed tells the linker to just drop unused ones, @@ -26,6 +27,9 @@ all: kerneloops kerneloops-applet kernel noui: kerneloops kerneloops.8.gz .c.o: + $(CC) $(CFLAGS) $(MY_NOUI) -c -o $@ $< + +kerneloops-applet.c: $(CC) $(CFLAGS) $(MY_CFLAGS) -c -o $@ $<