have users get the stb headers
This commit is contained in:
parent
2c29d8cfa0
commit
00fa0c15e1
3 changed files with 16 additions and 7898 deletions
15
Makefile
15
Makefile
|
@ -11,6 +11,19 @@ install: uirc
|
||||||
mkdir -p ${PREFIX}/bin
|
mkdir -p ${PREFIX}/bin
|
||||||
cp -f uirc ${PREFIX}/bin
|
cp -f uirc ${PREFIX}/bin
|
||||||
chmod 755 ${PREFIX}/bin/uirc
|
chmod 755 ${PREFIX}/bin/uirc
|
||||||
|
mkdir -p ${LIB_PREFIX}/uirc
|
||||||
|
cp -f LICENSE ${LIB_PREFIX}/uirc
|
||||||
|
|
||||||
.PHONY: uirc install
|
uninstall:
|
||||||
|
rm ${PREFIX}/bin/uirc
|
||||||
|
rm -r ${LIB_PREFIX}/uirc
|
||||||
|
test -s ${INCLUDE_PREFIX}/uirc || rm -r ${INCLUDE_PREFIX}/uirc
|
||||||
|
|
||||||
|
stb:
|
||||||
|
@echo "It is best to download the stb library from your system's package manager.
|
||||||
|
@echo "Press ENTER to manually install the stb headers needed. Otherwise, quit with ^C"
|
||||||
|
@read
|
||||||
|
mkdir -p ${INCLUDE_PREFIX}/uirc
|
||||||
|
wget https://raw.githubusercontent.com/nothings/stb/master/stb_image.h -P /usr/include/uirc/stb_image.h
|
||||||
|
|
||||||
|
.PHONY: uirc install stb
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# install location
|
# install location
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
LIB_PREFIX = ${PREFIX}/lib
|
||||||
|
INCLUDE_PREFIX = /usr/include
|
||||||
|
|
||||||
# manual install location
|
# manual install location
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
7897
stb_image.h
7897
stb_image.h
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue