From edc47eb5580babdca6547989c1cb5cdf317f4835 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 20 Dec 2002 22:01:40 +0000 Subject: some experimentin with C and python api. part 1. --- otk_c/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 otk_c/Makefile (limited to 'otk_c/Makefile') diff --git a/otk_c/Makefile b/otk_c/Makefile new file mode 100644 index 00000000..e4dfe122 --- /dev/null +++ b/otk_c/Makefile @@ -0,0 +1,25 @@ +prefix=/tmp/ob +libdir=$(prefix)/lib + +targets = libotk.so libotk.a +sources = display.c +headers = display.h + +CFLAGS+=-I/usr/gwar/include/python2.2 + +.PHONY: all install clean + +all: $(targets) + +install: $(targets) + install -d $(libdir) + install $^ $(libdir) + +clean: + $(RM) $(targets) *.o core + +libotk.so: $(sources:.c=.o) + $(CC) -shared -o $@ $^ $(LDFLAGS) + +libotk.a: $(sources:.c=.o) + $(AR) -cr $@ $^ -- cgit v1.2.3