From 3c6ce827a002c54deb88e40cbddddb03866e695b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 6 Jul 2022 22:00:30 -0500 Subject: Big update --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ebe8bf4 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 -- cgit 1.4.1-21-gabe81