From 4bbb849a30403a13c0556b2f29218722c2cf1621 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 29 Jun 2022 12:21:30 -0500 Subject: Initial commit --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..66e6c52 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# Radio + +DESTDIR = +PREFIX = /usr/local + +.PHONY: help +help: + @echo "radio : Play online radio" + @echo "(C) 2022 Case Duckworth " + @echo "Licensed under the Fair License; see COPYING for details." + @echo + @echo "TARGETS:" + @echo " install Install radio to $(DESTDIR)$(PREFIX)/radio." + @echo " An example configuration is at $(DESTDIR)$(PREFIX)/share/radio/stations." + @echo " uninstall Uninstall radio-related files." + +.PHONY: install +install: radio radio.stations + install -D radio $(PREFIX)/bin/radio + install -D radio.stations $(PREFIX)/share/radio/stations + +.PHONY: uninstall +uninstall: + rm $(PREFIX)/bin/radio + rm -r $(PREFIX)/share/radio/ -- cgit 1.4.1-21-gabe81