From 6ef70933fef8baaf373e43b3f2a02f3a6b083171 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 6 Mar 2006 16:28:54 +0000 Subject: changed from libs to framework svn path=/trunk/externals/clr/; revision=4653 --- makefile.darwin | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'makefile.darwin') diff --git a/makefile.darwin b/makefile.darwin index 39354e9..ca33718 100755 --- a/makefile.darwin +++ b/makefile.darwin @@ -13,17 +13,23 @@ pd_darwin: clr.pd_darwin PDPATH=/Users/thomas/Develop/pd/devel_0_39 - MONO=/Library/Frameworks/Mono.Framework +CFLAGS += -DPD -O2 + # where is the PD executable? PD=$(PDPATH)/bin/pd -LDFLAGS=-L$(MONO)/Libraries -lmono -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 # -lintl -liconv +LDFLAGS=-framework Mono + +INCLUDE = -I$(MONO)/Headers -I$(MONO)/Headers/glib-2.0 -I$(MONO)/Libraries/glib-2.0/include -I$(PDPATH)/src + +# new version +OPTIONS = -dynamiclib -undefined dynamic_lookup -DARWININCLUDE = -I$(MONO)/Headers -I$(MONO)/Headers/glib-2.0 -I$(MONO)/Libraries/glib-2.0/include -I$(PDPATH)/src +# old version +#OPTIONS = -bundle -bundle_loader $(PD) -DARWINCFLAGS = -DPD -O2 .cpp.pd_darwin: - g++ -dynamiclib -undefined dynamic_lookup $(DARWINCFLAGS) $(DARWININCLUDE) $(CFLAGS) $(LDFLAGS) -o $*.pd_darwin $*.cpp + g++ $(OPTIONS) $(INCLUDE) $(CFLAGS) $(LDFLAGS) -o $*.pd_darwin $*.cpp -- cgit v1.2.1