summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-04-30 13:54:55 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-04-30 13:54:55 -0700
commit6b739d91735fe83bd29f6ca8505c00d530e85584 (patch)
tree1434f862af7b540b4edd7b3766c3ef4d2db8225f
parent8982e6b585d0c3da7ffbd2f48f91d34733a3f140 (diff)
parentaf4de46f84bc2c1faaee0c304654aa3e99450d42 (diff)
downloadmruby-6b739d91735fe83bd29f6ca8505c00d530e85584.tar.gz
mruby-6b739d91735fe83bd29f6ca8505c00d530e85584.zip
Merge pull request #78 from MobiRuby/remove_ios_tasks
remove ios compile tasks
-rw-r--r--Makefile24
1 files changed, 0 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index 7d13946d7..44f8ee5af 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,6 @@
# makefile discription.
# basic build file for mruby
-# library for iOS
-IOSLIB := $(RITEVM)-ios.a
-IOSSIMLIB := $(RITEVM)-iossim.a
-IOSDEVLIB := $(RITEVM)-iosdev.a
-IOSSIMCC := xcrun -sdk iphoneos llvm-gcc-4.2 -arch i386 -isysroot "/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/"
-IOSDEVCC := xcrun -sdk iphoneos llvm-gcc-4.2 -arch armv7 -isysroot "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/"
-
# compiler, linker (gcc)
CC = gcc
LL = gcc
@@ -31,23 +24,6 @@ endif
all :
@$(MAKE) -C tools/mruby $(MAKE_FLAGS)
-# make library for iOS
-.PHONY : ios
-ios : $(IOSLIB)
-
-$(IOSLIB) : $(IOSSIMLIB) $(IOSDEVLIB)
- lipo -arch i386 $(IOSSIMLIB) -arch armv7 $(IOSDEVLIB) -create -output $(IOSLIB)
-
-$(IOSSIMLIB) :
- $(MAKE) clean -C src $(MAKE_FLAGS)
- $(MAKE) -C src $(MAKE_FLAGS) CC="$(IOSSIMCC)" LL="$(IOSSIMCC)"
- cp $(LIB) $(IOSSIMLIB)
-
-$(IOSDEVLIB) :
- $(MAKE) clean -C src $(MAKE_FLAGS)
- $(MAKE) -C src $(MAKE_FLAGS) CC="$(IOSDEVCC)" LL="$(IOSDEVCC)"
- cp $(LIB) $(IOSDEVLIB)
-
# clean up
.PHONY : clean
clean :