about summary refs log tree commit diff stats
path: root/Makefile
blob: ebe8bf4841a404faa6aca7e9a5699d1c337f255c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# TRAINFUCK MOTHER CHOO-ER
# Version #9

PREFIX = /usr/local

.PHONY: help install uninstall

help:
	@echo "TRAINFUCK!"
	@echo " make install	Install to $(PREFIX)"
	@echo " make uninstall	Remove from $(PREFIX)"

install: trainfuck trainfuck.awk fucktrain fucktrain.awk
	install -Dt $(DESTDIR)$(PREFIX)/bin/ $?

uninstall:
	rm $(DESTDIR)$(PREFIX)/trainfuck
	rm $(DESTDIR)$(PREFIX)/trainfuck.awk
	rm $(DESTDIR)$(PREFIX)/fucktrain
	rm $(DESTDIR)$(PREFIX)/fucktrain.awk