diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ebe8bf4 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,20 @@ | |||
1 | # TRAINFUCK MOTHER CHOO-ER | ||
2 | # Version #9 | ||
3 | |||
4 | PREFIX = /usr/local | ||
5 | |||
6 | .PHONY: help install uninstall | ||
7 | |||
8 | help: | ||
9 | @echo "TRAINFUCK!" | ||
10 | @echo " make install Install to $(PREFIX)" | ||
11 | @echo " make uninstall Remove from $(PREFIX)" | ||
12 | |||
13 | install: trainfuck trainfuck.awk fucktrain fucktrain.awk | ||
14 | install -Dt $(DESTDIR)$(PREFIX)/bin/ $? | ||
15 | |||
16 | uninstall: | ||
17 | rm $(DESTDIR)$(PREFIX)/trainfuck | ||
18 | rm $(DESTDIR)$(PREFIX)/trainfuck.awk | ||
19 | rm $(DESTDIR)$(PREFIX)/fucktrain | ||
20 | rm $(DESTDIR)$(PREFIX)/fucktrain.awk | ||