~dricottone/image2ascii

ref: 80cd2b553b0a44ef00114d715cec803559bf936a image2ascii/Makefile -rw-r--r-- 434 bytes
80cd2b55Dominic Ricottone Merging branch 'log-more-helpfully' from mjip/PR #22 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