Source

Pinnned / Makefile

APPNAME = me.aaront.pinnned-beta
VERSION = 1.2.1
PACKAGEFILE = $(APPNAME)_$(VERSION)_all.ipk
BUILDDIR = build/

default: package

package: $(PACKAGEFILE)

install: package
	palm-install $(BUILDDIR)$(PACKAGEFILE)

remove:
	palm-install -r $(APPNAME)

launch: install
	palm-launch $(APPNAME)

$(PACKAGEFILE):
	palm-package --exclude="Makefile" --exclude="build" -o $(BUILDDIR) .