diff options
author | Case Duckworth | 2022-07-06 22:00:30 -0500 |
---|---|---|
committer | Case Duckworth | 2022-07-06 22:00:30 -0500 |
commit | 3c6ce827a002c54deb88e40cbddddb03866e695b (patch) | |
tree | f9286a57c2c6821b718efb682ddbca453411c17e /Makefile | |
parent | Probably version ... whatever the next higher one is (diff) | |
download | trainfuck-3c6ce827a002c54deb88e40cbddddb03866e695b.tar.gz trainfuck-3c6ce827a002c54deb88e40cbddddb03866e695b.zip |
Big update
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 | ||