🔷 (File Transferring Utility) Transfer files through the Net 🔷
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.
|
.DEFAULT_GOAL := all |
|
|
|
SRC_DIR := src/ |
|
EXE_NAME := ftu |
|
INSTALLATION_DIR := /usr/local/bin/ |
|
|
|
all: |
|
cd $(SRC_DIR) && go build && mv $(EXE_NAME) .. |
|
|
|
race: |
|
cd $(SRC_DIR) && go build -race && mv $(EXE_NAME) .. |
|
|
|
install: all |
|
cp $(EXE_NAME) $(INSTALLATION_DIR) |
|
|
|
clean: |
|
rm $(EXE_NAME)
|