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../cgl/openbox -I../cgl -I/usr/include/pango-1.0 \
+ -I/usr/include/freetype2 -I../cgl/obrender
.PRECIOUS: %.tab.h %.lex.c %.tab.c
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