Created
April 29, 2011 09:07
-
-
Save nils-werner/948078 to your computer and use it in GitHub Desktop.
Makefile for Palm SDK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Makefile for Palm WebOS SDK | |
# | |
# By default, this Makefile installs and launches apps on the Emulator. To override this | |
# behaviour override the variable DEVICE to be "usb". i.e. make reinstall DEVICE=usb | |
# | |
PACKAGE = com.yourdomain.yourapp | |
DEVICE = tcp | |
LEVEL = info | |
.PHONY: package clean install launch log update relaunch host | |
%.ipk: | |
rm -rf *.ipk | |
palm-package --use-v1-format . | |
package: %.ipk | |
clean: | |
rm -rf *.ipk | |
- palm-install -d $(DEVICE) -r $(PACKAGE) | |
install: package | |
palm-install -d $(DEVICE) *.ipk | |
launch: | |
palm-launch -d $(DEVICE) $(PACKAGE) | |
log: | |
palm-log -d $(DEVICE) -f $(PACKAGE) | |
level: | |
palm-log -d $(DEVICE) --system-log-level $(LEVEL) | |
update: clean install | |
relaunch: update launch log | |
host: | |
ssh -N -p 5522 -L 5581:localhost:8080 root@localhost & | |
chromium-browser http://localhost:5581/media/cryptofs/apps/usr/palm/applications/$(PACKAGE)/?device=pre & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment