mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +00:00
Makefile cleanup
This commit is contained in:
@@ -1,12 +1,13 @@
|
|||||||
|
|
||||||
|
# aliases
|
||||||
all: tgo
|
all: tgo
|
||||||
tgo: build/tgo
|
tgo: build/tgo
|
||||||
test: build/hello.o
|
test: build/hello.o
|
||||||
|
|
||||||
CFLAGS = -Wall -Werror -O2 -g -flto
|
|
||||||
|
|
||||||
.PHONY: all tgo test run-test clean
|
.PHONY: all tgo test run-test clean
|
||||||
|
|
||||||
|
CFLAGS = -Wall -Werror -O2 -g -flto
|
||||||
|
|
||||||
build/tgo: *.go
|
build/tgo: *.go
|
||||||
@mkdir -p build
|
@mkdir -p build
|
||||||
@go build -o build/tgo -i .
|
@go build -o build/tgo -i .
|
||||||
|
|||||||
Reference in New Issue
Block a user