# along with this program. If not, see <http://www.gnu.org/licenses/>.
# }}}
+.SECONDARY:
.DELETE_ON_ERROR:
SHELL := /bin/bash
framework := $(foreach os,ios osx,$(foreach file,$(framework),Cycript.$(os)/Cycript.framework/$(file)))
links :=
+links += Cycript.lib/cynject
links += Cycript.lib/libsubstrate.dylib
links += Cycript.lib/cycript0.9
define build_any
.PHONY: build-$(1)-$(2)
build-$(1)-$(2):
- $(MAKE) -C build.$(1)-$(2)
+ $$(MAKE) -C build.$(1)-$(2)
build.$(1)-$(2)/.libs/libcycript.a: build-$(1)-$(2)
@
endef