]> Dogcows Code - chaz/openbox/blobdiff - otk_c/Makefile
a color cache to be proud of!
[chaz/openbox] / otk_c / Makefile
index e4dfe12221e6f2b37ca0527236338dc5d2d48346..b9253343e6a1f6e741a7779771351f9f17aa5874 100644 (file)
@@ -1,11 +1,12 @@
 prefix=/tmp/ob
-libdir=$(prefix)/lib
+exec_prefix=$(prefix)
+libdir=$(exec_prefix)/lib
 
 targets = libotk.so libotk.a
-sources = display.c
-headers = display.h
+sources = display.c screeninfo.c rect.c gccache.c color.c
+headers = display.h screeninfo.h rect.h gccache.h color.h
 
-CFLAGS+=-I/usr/gwar/include/python2.2
+CFLAGS+=-g -I/usr/gwar/include/python2.2 -W -Wall
 
 .PHONY: all install clean
 
@@ -16,7 +17,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.024985 seconds and 4 git commands to generate.