]> Dogcows Code - chaz/openbox/blobdiff - otk_c/Makefile
color and gccache etc are like, half done
[chaz/openbox] / otk_c / Makefile
index e4dfe12221e6f2b37ca0527236338dc5d2d48346..960308c6586ee3f08fa3fa09227c6e75370ac5d1 100644 (file)
@@ -1,9 +1,10 @@
 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
+headers = display.h screeninfo.h rect.h gccache.h
 
 CFLAGS+=-I/usr/gwar/include/python2.2
 
@@ -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.020499 seconds and 4 git commands to generate.