summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-02-05 22:21:22 -0600
committerepoch <epoch@hacking.allowed.org>2019-02-05 22:21:22 -0600
commit549c3df0cbb295f2d8661a3cb7eeaf8e9f9a9a5b (patch)
treedfc444476737c1402c3049944d7da4b1e36feb29 /src/Makefile
parent888b870c576313c4c4c13958acb7d0e833b375c1 (diff)
downloadhackvr-549c3df0cbb295f2d8661a3cb7eeaf8e9f9a9a5b.tar.gz
hackvr-549c3df0cbb295f2d8661a3cb7eeaf8e9f9a9a5b.zip
got rid of -D argument for install in Makefile because it does not mean the same thing on BSD
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index 81f81f7..37ab36b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -52,12 +52,13 @@ graphics_cs_opengl.o: LDLIBS=-lm -lGL -lGLU -lglut
math.o: LDLIBS=-lm
install:
- install -D hackvr $(PREFIX)/bin/hackvr
- install -D hackvr_headless $(PREFIX)/bin/hackvr_headless
- install -D hackvr_x11 $(PREFIX)/bin/hackvr_x11
- install -D hackvr_fb $(PREFIX)/bin/hackvr_fb
- install -D hackvr_freeglut $(PREFIX)/bin/hackvr_freeglut
- install -D slowcat $(PREFIX)/bin/slowcat
+ mkdir -p $(PREFIX)/bin
+ install hackvr $(PREFIX)/bin/hackvr
+ install hackvr_headless $(PREFIX)/bin/hackvr_headless
+ install hackvr_x11 $(PREFIX)/bin/hackvr_x11
+ install hackvr_fb $(PREFIX)/bin/hackvr_fb
+ install hackvr_freeglut $(PREFIX)/bin/hackvr_freeglut
+ install slowcat $(PREFIX)/bin/slowcat
uninstall:
rm $(PREFIX)/bin/hackvr