Mercurial > hg > libxtract
view examples/MSP/Makefile @ 115:6c5ece9cba3a
- Added to pd example the ability to differentiate between different
argv types (XTRACT_FLOAT, XTRACT_INT) and pass the correct data type
to the xtract[]() function
- Added xtract_flatness_db() details to descriptors.c
- Fixes to tonality and xtract_subbands descriptors
- Added Pd examples for 'subband mean' and tonality calculated using subbands
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Sat, 16 Feb 2008 20:13:05 +0000 |
parents | 85329d9583b7 |
children | 25fc4d0767f9 |
line wrap: on
line source
NAME=xtract~ CSYM=xtract~ all: universal current: universal MAXINCLUDE = /usr/local/include/max-includes MSPINCLUDE = /usr/local/include/msp-includes FRAMEWORKS = /Library/Frameworks INSTALLDIR = /Applications/Audio/MaxMSP\ 4.6.3/Cycling\ \'74/externals/ LIPO = /usr/bin/lipo CC = gcc CFLAGS = -F$(FRAMEWORKS) -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -x c -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -fmessage-length=0 -I$(MAXINCLUDE) -I$(MSPINCLUDE) -include macho-prefix.h -Werror I386CFLAGS = -arch i386 PPCCFLAGS = -arch ppc -faltivec -fasm-blocks -Wno-unused LDFLAGS = -F$(FRAMEWORKS) -L$(MAXINCLUDE) -L$(MSPINCLUDE) -framework Carbon -framework MaxAPI -framework MaxAudioAPI -Wl,-Y,1455 -bundle -L/usr/local/lib -lxtract I386LDFLAGS = -arch i386 PPCLDFLAGS = -arch ppc universal: $(CC) $(CFLAGS) $(I386CFLAGS) -o $(NAME)-i386.o -c $(NAME).c $(CC) $(CFLAGS) $(PPCCFLAGS) -o $(NAME)-ppc.o -c $(NAME).c $(CC) $(LDFLAGS) $(I386LDFLAGS) -o $(NAME)-i386 $(NAME)-i386.o $(CC) $(LDFLAGS) $(PPCLDFLAGS) -o $(NAME)-ppc $(NAME)-ppc.o $(LIPO) -create $(NAME)-ppc $(NAME)-i386 -output $(NAME) mkdir -p $(NAME).mxo/Contents/MacOS cp Info.plist PkgInfo $(NAME).mxo/Contents/ cp $(NAME) $(NAME).mxo/Contents/MacOS ppc: $(CC) $(CFLAGS) $(PPCCFLAGS) -o $(NAME)-ppc.o -c $(NAME).c $(CC) $(LDFLAGS) $(PPCLDFLAGS) -o $(NAME)-ppc $(NAME)-ppc.o $(LIPO) -create $(NAME)-ppc -output $(NAME) mkdir -p $(NAME).mxo/Contents/MacOS cp Info.plist PkgInfo $(NAME).mxo/Contents/ cp $(NAME) $(NAME).mxo/Contents/MacOS intel: $(CC) $(CFLAGS) $(I386CFLAGS) -o $(NAME)-i386.o -c $(NAME).c $(CC) $(LDFLAGS) $(I386LDFLAGS) -o $(NAME)-i386 $(NAME)-i386.o $(LIPO) -create $(NAME)-i386 -output $(NAME) mkdir -p $(NAME).mxo/Contents/MacOS cp Info.plist PkgInfo $(NAME).mxo/Contents/ cp $(NAME) $(NAME).mxo/Contents/MacOS clean: rm -rf *i386* *ppc* xtract~ *.mxo maintainer-clean: rm -rf *i386* *ppc* xtract~ *.mxo install: $(INSTALL) cp -r $(NAME).mxo $(INSTALLDIR)