~dricottone/image2ascii

ref: c4ca08179805141daf80960c2a1b862e9e363d8d image2ascii/Makefile -rw-r--r-- 434 bytes
c4ca0817Dominic Ricottone README fix 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
BIN_DIR?=/usr/local/bin
LIB_DIR?=/usr/local/lib
COMP_DIR?=/usr/local/etc/bash_completion.d
GO_FILES=$(shell find -name '*.go')

image2ascii: $(GO_FILES)
	go build .

.PHONY: clean
clean:
	rm --force image2ascii

.PHONY: test
test: clean
	go test

.PHONY: build
build: image2ascii

.PHONY: install
install: image2ascii
	install -m755 image2ascii $(BIN_DIR)/image2ascii

.PHONY: uninstall
uninstall:
	rm --force $(BIN_DIR)/image2ascii