From 992bd94dddb021b297fcf28cb5248cc94f48aaf3 Mon Sep 17 00:00:00 2001 From: jdl Date: Tue, 2 Jul 2002 20:32:59 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r24, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/cxc/; revision=25 --- makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..1ecb81d --- /dev/null +++ b/makefile @@ -0,0 +1,44 @@ + +current: linux + +.SUFFIXES: .pd_linux +INSTALL_PREFIX = /usr +PD_DIR = $(INSTALL_PREFIX)/lib/pd + +VERSION = \"$(shell cat VERSION)\" +#LIBOSC = ../OSC/perl/libOSC/libOSC.a +LIBOSC = + +TARGETS = binshift ascwave ixprint bangfilt bangfilt2 \ + counter reson prepend microtime ascseq \ + randomix ENV proc mean sigdelta cx + +# mean +# serialize + +LINUXOBJECTS = $(TARGETS:%=%.o) + +LINCLUDE = -I. -I../pd-0.35-test24/src +# possible defines +# -DPRINTADDRS +DEBUG = -DDEBUG -ggdb +#DEBUG = +CFLAGS = -O2 -DPD -DVERSION=$(VERSION) $(DEBUG) -fPIC $(LINCLUDE) +LIBS = -lc -lm +linux: $(LINUXOBJECTS) + ld -export_dynamic -shared -o cxc.pd_linux *.o $(LIBS) ${LIBOSC} + strip --strip-unneeded cxc.pd_linux + +.c.pd_linux: + cc $(CFLAGS) -c $*.c ${LIBOSC} + +clean: + rm *.pd_linux *.o *~ + +install: + install -d $(PD_DIR)/doc/5.reference/cxc + install -m664 reference/*.pd $(PD_DIR)/doc/5.reference/cxc + install -m664 cxc.pd_linux $(PD_DIR)/externs +uninstall: + rm -rf $(PD_DIR)/doc/5.reference/cxc + rm -rf $(PD_DIR)/externs/cxc.pd_linux -- cgit v1.2.1