~dricottone/digestion

digestion/Makefile -rw-r--r-- 275 bytes
db7d0c4dDominic Ricottone Adding parcels 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
INSTALL_DIR?=/usr/local/bin
GO_FILES=$(shell find -name '*.go')

.PHONY: clean
clean:
	rm -rf digestion go.sum

digestion: $(GO_FILES)
	go get -u
	go build

.PHONY: build
build: digestion

.PHONY: install
install: digestion
	install -m755 digestion $(INSTALL_DIR)/digestion