first commit

This commit is contained in:
Fabrizio Furnari
2020-12-01 20:21:13 +01:00
commit 9824775015
6 changed files with 271 additions and 0 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
#GOFLAGS=""
LDFLAGS=-ldflags "-s -w"
BINARY=metrorama
.DEFAULT_GOAL: $(BINARY)
$(BINARY): clean
go build ${GOFLAGS} ${LDFLAGS} -o ${BINARY}
install:
go install ${GOFLAGS} ${LDFLAGS} -o ${BINARY}
clean:
if [ -f ${BINARY} ]; then rm ${BINARY} ; fi
run: clean $(BINARY)
./$(BINARY)
.phony: clean install