You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
541 B
34 lines
541 B
SHELL:=/bin/bash
|
|
|
|
.PHONY: all
|
|
all: awsm applications
|
|
|
|
.PHONY: clean
|
|
clean: awsm.clean applications.clean
|
|
|
|
.PHONY: submodules
|
|
submodules:
|
|
git submodule update --init --recursive
|
|
|
|
# aWsm: the WebAssembly to LLVM bitcode compiler
|
|
.PHONY: awsm/release
|
|
awsm/release:
|
|
cargo build --release
|
|
|
|
.PHONY: awsm/debug
|
|
awsm/debug:
|
|
cargo build
|
|
|
|
.PHONY: awsm.clean
|
|
awsm.clean:
|
|
cargo clean
|
|
|
|
# aWsm Applications
|
|
.PHONY: applications
|
|
applications:
|
|
make -C applications all.awsm
|
|
|
|
.PHONY: applications.clean
|
|
applications.clean:
|
|
make -C applications clean
|