]> Dogcows Code - chaz/openbox/blobdiff - otk_c/Makefile
add font
[chaz/openbox] / otk_c / Makefile
index fd51ae57f45a16442df7f1ee840898d20ded9eba..397227ef84edfa6c9d0d3be71e57d4ec908b5ba6 100644 (file)
@@ -1,12 +1,13 @@
-prefix=/tmp/ob
-exec_prefix=$(prefix)
-libdir=$(exec_prefix)/lib
+prefix = /tmp/ob
+exec_prefix = $(prefix)
+libdir = $(exec_prefix)/lib
 
 targets = libotk.so libotk.a
-sources = display.c
-headers = display.h
+sources = init.c display.c screeninfo.c rect.c gccache.c color.c font.c
+headers = init.h display.h screeninfo.h rect.h gccache.h color.h font.h
 
-CFLAGS+=-I/usr/gwar/include/python2.2
+CFLAGS += -g -W -Wall -I/usr/gwar/include/python2.2 `pkg-config --cflags xft`
+LDFLAGS += `pkg-config --libs xft`
 
 .PHONY: all install clean
 
@@ -17,7 +18,7 @@ install: $(targets)
        install $^ $(libdir)
 
 clean:
-       $(RM) $(targets) *.o core
+       $(RM) $(targets) *.o core *\~ .\#*
 
 libotk.so: $(sources:.c=.o)
        $(CC) -shared -o $@ $^ $(LDFLAGS)
This page took 0.024448 seconds and 4 git commands to generate.