Sha256: e1fee8159f121fe7d33ab3e928720fdaf7b4a24bfb55cff4f26e4c7916add73e

Contents?: true

Size: 973 Bytes

Versions: 6

Compression:

Stored size: 973 Bytes

Contents

#
# 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.helloamber
VERSION  := 1.0.0

# -O for Closure optimization of js code.
FLAGS    := 
IPK      := $(PACKAGE)_$(VERSION)_all.ipk
FILE     := Program
SOURCES  := $(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-emulator
run:    $(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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mdbe-0.1.0 public/amber/examples/webos/helloamber/Makefile
maglev-database-explorer-0.0.5 public/amber/examples/webos/helloamber/Makefile
maglev-database-explorer-0.0.4 public/amber/examples/webos/helloamber/Makefile
maglev-database-explorer-0.0.3 public/amber/examples/webos/helloamber/Makefile
maglev-database-explorer-0.0.2 public/amber/examples/webos/helloamber/Makefile
maglev-database-explorer-0.0.1 public/amber/examples/webos/helloamber/Makefile