From f3249f0b1076fb77b7c815606c6007e26198bb25 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Mon, 17 Jul 2006 17:31:20 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r5372, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/postlude/; revision=5373 --- oscbonjour/makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 oscbonjour/makefile (limited to 'oscbonjour/makefile') diff --git a/oscbonjour/makefile b/oscbonjour/makefile new file mode 100644 index 0000000..4c4eb8c --- /dev/null +++ b/oscbonjour/makefile @@ -0,0 +1,46 @@ +PD-PATH=/usr/lib/pd +PD-SRC=/usr/local/include +ZEROCONF-SRC=../zeroconf + +CC = g++ +LD = g++ +INCLUDE=-I$(PD-SRC) -I$(ZEROCONF-SRC) -I. +LIB=-lc -lm +CC_FLAGS = -DPD -c -Wall -fPIC -O3 +LD_FLAGS = --export-dynamic -shared -o + + +TARGET=oscbonjour.pd_linux +OBJ=oscbonjour.o + + +#-------------------------------------------------------- + +all: pd_linux + +pd_linux: $(TARGET) + + +$(TARGET): $(OBJ) + $(LD) $(LD_FLAGS) $(TARGET) $(OBJ) $(LIB) + strip --strip-unneeded $(TARGET) + chmod 755 $(TARGET) + +oscbonjour.o: + $(CC) $(CC_FLAGS) $(INCLUDE) oscbonjour.cpp +#TinyXML: + +#tinyxml.o: tinyxml/tinyxml.h tinyxml/tinyxml.cpp +# $(CC) $(CC_FLAGS) $(INCLUDE) tinyxml/tinyxml.cpp + + +#----------------------------------------------------- + + +clean: + rm -f $(OBJ) $(TARGET) + + +install: + cp -f $(TARGET) $(PD-PATH)/externs + cp -f help/*.pd $(PD-PATH)/doc/5.reference -- cgit v1.2.1