X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk_c%2FMakefile;h=397227ef84edfa6c9d0d3be71e57d4ec908b5ba6;hb=55b2aaf973063796a668bc758232141c3d6f5cc9;hp=2e0589d6ee76a9cf52a7f941a80b0cf6c85aecd0;hpb=cca7a6762d273815947bd5c7cc58ab6713693e8e;p=chaz%2Fopenbox 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