diff options
author | Jamie Bullock <jamie@postlude.co.uk> | 2007-08-19 21:46:41 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@postlude.co.uk> | 2007-08-19 21:46:41 +0000 |
commit | cbbdb6d14bc814798a01944981ff14a5cf8a1389 (patch) | |
tree | e00992920a729e051d5079b2891b0de154a39764 /examples/MSP/Makefile | |
parent | 5a520327f19176617c8f27f4f990e1ee1100164a (diff) | |
download | LibXtract-cbbdb6d14bc814798a01944981ff14a5cf8a1389.tar.gz LibXtract-cbbdb6d14bc814798a01944981ff14a5cf8a1389.tar.bz2 LibXtract-cbbdb6d14bc814798a01944981ff14a5cf8a1389.zip |
Added MSP example test patches and modified MSP Makefile to cater for specific architectures
Diffstat (limited to 'examples/MSP/Makefile')
-rw-r--r-- | examples/MSP/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/MSP/Makefile b/examples/MSP/Makefile index 8078861..8a8b7f1 100644 --- a/examples/MSP/Makefile +++ b/examples/MSP/Makefile @@ -28,6 +28,21 @@ universal: $(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/
|