summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-02-13 23:53:47 -0600
committerepoch <epoch@hacking.allowed.org>2020-02-13 23:53:47 -0600
commit9bee4032a9162a0727cdc5041c3cf601702cff56 (patch)
tree27864d1dd097f33f9019fa876c8d179ca1186ca9 /src
parenta2a2bc852316274b12367fe36391c7aad0072d97 (diff)
downloadhackvr-9bee4032a9162a0727cdc5041c3cf601702cff56.tar.gz
hackvr-9bee4032a9162a0727cdc5041c3cf601702cff56.zip
turned a hard-coded include path into one based on PREFIX
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index c02198f..f43ceb3 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -41,7 +41,7 @@ hackvr_opengl.o: CFLAGS+='-DHVR_VERSION="opengl"'
hackvr_x11.o: LDLIBS=-lm -lidc -lX11
hackvr_x11.o: CFLAGS+='-DHVR_VERSION="x11"'
-hackvr_headless.o: CFLAGS=-Wall -pedantic -std=c99 -ffast-math -I/home/epoch/.local/include
+hackvr_headless.o: CFLAGS=-Wall -pedantic -std=c99 -ffast-math -I$(PREFIX)/include
hackvr_headless.o: CFLAGS+='-DHVR_VERSION="headless"'
hackvr_headless.o: LDLIBS=-lm -lidc