summaryrefslogtreecommitdiff
path: root/otk_c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'otk_c/Makefile')
-rw-r--r--otk_c/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/otk_c/Makefile b/otk_c/Makefile
index 2e0589d6..397227ef 100644
--- a/otk_c/Makefile
+++ b/otk_c/Makefile
@@ -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 = init.c display.c screeninfo.c rect.c gccache.c color.c
-headers = init.h display.h screeninfo.h rect.h gccache.h color.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+=-g -I/usr/gwar/include/python2.2 -W -Wall
+CFLAGS += -g -W -Wall -I/usr/gwar/include/python2.2 `pkg-config --cflags xft`
+LDFLAGS += `pkg-config --libs xft`
.PHONY: all install clean