Skip to content

Commit 04391bb

Browse files
authored
Support installation (#63)
Seems reasonable
1 parent 56499b5 commit 04391bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
PREFIX?= /usr/local
2+
13
help:
24
@echo This makefile is just for the test program \(use \"make clean all test\"\)
35
@echo Just include the SimpleIni.h header file to use it.
46

57
install:
6-
@echo No install required. Just include the SimpleIni.h header file to use it.
8+
mkdir -p $(DESTDIR)$(PREFIX)/include/
9+
install -C -m 644 SimpleIni.h $(DESTDIR)$(PREFIX)/include/
710

811
TOPTARGETS := all clean test
912

0 commit comments

Comments
 (0)