aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-19 23:36:02 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-11-19 23:36:02 +0000
commiteb6e034d683ba797b60813f0d72719354e85789a (patch)
treeb19ea6f9f61f9dd75c94a018d40eaf8b2112d924
parent013e9dbeb274f1b972333403888b634a57051eeb (diff)
removed videogrid.cc from CXXSOURCES_Darwin since its for all platforms now; added 64-bit -arch for FAT_FLAGS; uncommented strip in install target
svn path=/trunk/externals/pdvjtools/; revision=12800
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 55906d5..85b384d 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ CXXSOURCES = pix_preview/pix_preview.cc videogrid/videogrid.cc
# For objects that only build on certain platforms, add those to the SOURCES
# line for the right platforms.
CSOURCES_Darwin =
-CXXSOURCES_Darwin = videogrid/videogrid.cc
+CXXSOURCES_Darwin =
CSOURCES_Linux =
CXXSOURCES_Linux =
@@ -59,7 +59,7 @@ ifeq ($(UNAME),Darwin)
EXTENSION = pd_darwin
OS = macosx
OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast
- FAT_FLAGS = -arch i386 -arch ppc -mmacosx-version-min=10.4
+ FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4
CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include
LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup -L/sw/lib
LIBS += -lc
@@ -125,8 +125,8 @@ install: all install-doc install-exec
install -m644 -p $(LIBRARY_NAME)-meta.pd $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
install -m644 -p $(CSOURCES:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
install -m644 -p $(CXXSOURCES:.cc=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
- #$(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(CSOURCES:.c=.$(EXTENSION)))
- #$(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(CXXSOURCES:.cc=.$(EXTENSION)))
+ $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(CSOURCES:.c=.$(EXTENSION)))
+ $(STRIP) $(addprefix $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/,$(CXXSOURCES:.cc=.$(EXTENSION)))
install-doc:
install -d $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)