~dricottone/digestion

ref: 8cc83015e2289b611448002a194f23cfaaa253b5 digestion/Makefile -rw-r--r-- 275 bytes
8cc83015Dominic Ricottone Makefile updates 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