summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2015-08-31 16:14:30 -0700
committerBen Smith <binji@chromium.org>2015-08-31 16:14:30 -0700
commit21e55002b4cbc5d1f9b1d901a2c3c65160b8af60 (patch)
tree356a25ed7c842dc2f35042d9eb2afb2ace0c8a2c /Makefile
downloadwabt-21e55002b4cbc5d1f9b1d901a2c3c65160b8af60.tar.gz
wabt-21e55002b4cbc5d1f9b1d901a2c3c65160b8af60.tar.bz2
wabt-21e55002b4cbc5d1f9b1d901a2c3c65160b8af60.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..30c49849
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+.SUFFIXES:
+
+ALL = sexpr-wasm
+CC = gcc
+CFLAGS = -Wall -Werror -g
+
+.PHONY: all
+all: $(addprefix out/,$(ALL))
+
+out/:
+ mkdir $@
+
+out/sexpr-wasm: sexpr-wasm.c | out
+ $(CC) $(CFLAGS) -o $@ $<
+
+.PHONY: clean
+clean:
+ rm -rf out