repair brokeness provided by a foolish Makefile
[manmower/obtheme.git] / Makefile
index 29e9aa5..4eb5046 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 CFLAGS=-g -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \
-       -I../openbox/openbox -I../openbox -I/usr/include/pango-1.0 \
-       -I/usr/include/freetype2 -I../openbox/obrender
+       -I../cgl/openbox -I../cgl -I/usr/include/pango-1.0 \
+       -I/usr/include/freetype2 -I../cgl/obrender
 
 .PRECIOUS: %.tab.h %.lex.c %.tab.c
 
@@ -12,8 +12,8 @@ CFLAGS=-g -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \
 
 all: obtheme
 
-obtheme: main.o obtheme.tab.o obtheme.lex.o obtheme.tab.h
-       $(CC) $(CFLAGS) -o obtheme main.o obtheme.tab.o obtheme.lex.o -lm -lglib-2.0
+obtheme: main.o obtheme.tab.o obtheme.lex.o obtheme.tab.h obtheme.o
+       $(CC) $(CFLAGS) -o obtheme main.o obtheme.o obtheme.tab.o obtheme.lex.o -lm -lglib-2.0
 
 clean:
-       rm -f obtheme *.lex.* *.tab.* *.o obtheme.c
+       rm -f obtheme *.lex.* *.tab.* *.o