aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2018-04-13 02:12:36 +0200
committerAyke van Laethem <[email protected]>2018-04-13 02:12:36 +0200
commit30931ab3a67efd43e8a47e0d302d32fcb1b22f0e (patch)
tree22799e452cda08ca715a7585e5d3cbc8f905df66 /Makefile
parent6a8dc7ca9a5de7bc9054506b7f7840862e956381 (diff)
downloadtinygo-30931ab3a67efd43e8a47e0d302d32fcb1b22f0e.tar.gz
tinygo-30931ab3a67efd43e8a47e0d302d32fcb1b22f0e.zip
Makefile cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e5397dd35..998cbed38 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,13 @@
+# aliases
all: tgo
tgo: build/tgo
test: build/hello.o
-CFLAGS = -Wall -Werror -O2 -g -flto
-
.PHONY: all tgo test run-test clean
+CFLAGS = -Wall -Werror -O2 -g -flto
+
build/tgo: *.go
@mkdir -p build
@go build -o build/tgo -i .