diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..46328b4 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +PREFIX=/usr/local + +MAKEFILE_DIR=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) +MEDIA=$(wildcard $(MAKEFILE_DIR)/media/*) + +all: help + +help: + @echo "Usage (root access required):" + @echo "* make install" + +install: $(MEDIA) + @echo "Installing audio test files $(notdir $(MEDIA)) into $(DESTDIR)/media" + mkdir -p $(DESTDIR)/media + install $(MEDIA) -m 750 $(DESTDIR)/media + +clean: + @rm -vf $(SCRIPTS) |