From 30931ab3a67efd43e8a47e0d302d32fcb1b22f0e Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Fri, 13 Apr 2018 02:12:36 +0200 Subject: [PATCH] Makefile cleanup --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e5397dd3..998cbed3 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 .