Files
eepp/projects/ios/Makefile
Martín Lucas Golini 0ac86ad491 Some minor fixes for the emscripten port ( added support for S3TC ).
Added support for iOS cross compilling ( for jailbroken devices ).
2013-11-11 03:48:38 -03:00

25 lines
593 B
Makefile

IPHONE_IP:=
PROJECTNAME:=eepp
APPFOLDER:=$(PROJECTNAME).app
INSTALLFOLDER:=$(PROJECTNAME).app
install:
ifeq ($(IPHONE_IP),)
echo "Please set IPHONE_IP"
else
ssh root@$(IPHONE_IP) 'rm -fr /Applications/$(INSTALLFOLDER)'
scp -r $(APPFOLDER) root@$(IPHONE_IP):/Applications/$(INSTALLFOLDER)
echo "Application $(INSTALLFOLDER) installed"
ssh mobile@$(IPHONE_IP) 'uicache'
endif
uninstall:
ifeq ($(IPHONE_IP),)
echo "Please set IPHONE_IP"
else
ssh root@$(IPHONE_IP) 'rm -fr /Applications/$(INSTALLFOLDER)'
echo "Application $(INSTALLFOLDER) uninstalled"
endif
.PHONY: install uninstall