Told the Makefile not to panic if creating /usr/include due to it existing (due to bin not being allowed to create it) fails, this smoothens installs done by bin (instead of root).
11 lines
135 B
Makefile
11 lines
135 B
Makefile
|
|
INC=/usr/include
|
|
|
|
all::
|
|
|
|
clean::
|
|
|
|
install::
|
|
-rm -rf $(INC)
|
|
mkdir -p $(INC)
|
|
tar cf - `find . -name '*.h'` | (cd $(INC) && tar xf -)
|