| 1234567891011121314151617181920212223242526272829303132333435363738 | ## If you copy this file for an Enyo/Amber project, just# modify these first two lines# and then add .st files as you please. This Makefile# should pick them all up and compile into Program.js.#PACKAGE  := amber.helloamberVERSION  := 1.0.0# -O for Closure optimization of js code.FLAGS    := -OIPK      := $(PACKAGE)_$(VERSION)_all.ipkFILE     := ProgramSOURCES  := $(wildcard *.st)OBJECTS  := $(patsubst %.st,%.js,$(wildcard *.st))FILEJS   := $(FILE).js$(FILEJS): $(SOURCES)	../../../bin/amberc $(FLAGS) $(SOURCES) $(FILE)$(IPK): $(FILEJS)	palm-package .clean:	rm -f $(FILEJS) $(OBJECTS) $(IPK)	palm-install -r $(PACKAGE)install: $(IPK)	palm-install $(IPK)# If you want to run it in the emulator, start the emulator first with palm-emulatorrun:    $(IPK)	palm-install $(IPK)	palm-launch $(PACKAGE)# This should fire it up in Chromium (at least under Ubuntu)chromium: $(FILEJS)	chromium-browser --allow-file-access-from-files index.html
 |