summaryrefslogtreecommitdiff
path: root/Makefile
blob: 070c19cd2656eecd4079e5c352364e89fa097f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PREFIX ?= /usr/local

marp: src/main.go
	go build -o marp ./src

install: marp
	mkdir -p ${DESTDIR}${PREFIX}/bin
	cp -f marp ${DESTDIR}${PREFIX}/bin
	cp -f lib/std.marp ${DESTDIR}${PREFIX}/bin

uninstall:
	rm -f ${DESTDIR}${PREFIX}/bin/marp

clean:
	rm -f marp

.PHONY: test clean