14 lines
151 B
Makefile
14 lines
151 B
Makefile
|
GO := go
|
||
|
SRC = sleeptest.go
|
||
|
OUT = sleeptest
|
||
|
|
||
|
.PHONY: clean
|
||
|
|
||
|
all: $(OUT)
|
||
|
|
||
|
$(OUT): $(SRC)
|
||
|
$(GO) -ldflags="-s -w" -o $(OUT) $(SRC)
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OUT)
|