You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
278 B

MPATH := $(abspath $(lastword $(MAKEFILE_LIST)))
CDIR := $(shell dirname $(MPATH))
all: clean server
clean:
@echo "Cleanup"
@-rm "$(CDIR)/src/server/cc-top100" >/dev/null 2>&1
server:
cd "$(CDIR)/src/server" && go build
run: clean server
"$(CDIR)/src/server/cc-top100"