langcmp/go/Makefile

14 lines
157 B
Makefile

GO := go
SRC = sleeptest.go
OUT = sleeptest
.PHONY: clean
all: $(OUT)
$(OUT): $(SRC)
$(GO) build -ldflags "-s -w" -o $(OUT) $(SRC)
clean:
rm -f $(OUT)