13 lines
175 B
Makefile
13 lines
175 B
Makefile
EXE=FFReverseGeo
|
|
SRC=$(EXE).go
|
|
GOOS=linux
|
|
GOARCH=amd64
|
|
|
|
all: $(EXE)
|
|
|
|
$(EXE):
|
|
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=0 go build -ldflags '-s -w' $(SRC)
|
|
|
|
clean:
|
|
-rm $(EXE)
|