Add 'install' target

This commit is contained in:
Patrick Pelissier committed 2017-03-21 21:22:03 +01:00
1 parent 0f57484ebf
commit 4deae89680
1 file changed
+5 -1
+5 -1
View File
@@ -1,4 +1,6 @@
PREFIX=/usr/local
RM=rm -f
MKDIR=mkdir -p
all:
@echo "Nothing to be done."
@@ -15,4 +17,6 @@ clean:
cd example && make clean
$(RM) -f README.html
install:
$(MKDIR) $(PREFIX)/include
cp m-*.h $(PREFIX)/include