summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-02-19 05:45:39 -0600
committerepoch <epoch@hacking.allowed.org>2018-02-19 05:45:39 -0600
commit589f96f40721162300ac4907096629923f0d5901 (patch)
treebfc56b6e1ccc11fceb23bd8a16434e6e327c9582 /src/Makefile
parent971d138dd26db47fab83643bd19b36f224902bf9 (diff)
downloadhackvr-589f96f40721162300ac4907096629923f0d5901.tar.gz
hackvr-589f96f40721162300ac4907096629923f0d5901.zip
added a couple fixes to the makefile.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index cfe3469..58fc2e4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,7 +4,6 @@ CFLAGS=-Wall -pedantic -std=c99 -DGRAPHICAL -ffast-math
#all: hackvr_headless hackvr_x11 hackvr_opengl slowcat ### when hackvr_opengl gets useful at all I'll start including it in default build.
all: hackvr_headless hackvr_x11 hackvr_fb slowcat
- ln -sf hackvr_x11 hackvr
hackvr_headless: LDLIBS=-lm
hackvr_headless: hackvr_headless.o math.o
@@ -36,12 +35,14 @@ math.o: LDLIBS=-lm
install:
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 slowcat $(PREFIX)/bin/slowcat
uninstall:
rm $(PREFIX)/bin/hackvr
+ rm $(PREFIX)/bin/hackvr_headless
rm $(PREFIX)/bin/hackvr_x11
rm $(PREFIX)/bin/hackvr_fb
rm $(PREFIX)/bin/slowcat
@@ -51,5 +52,6 @@ clean:
rm -f hackvr_headless
rm -f hackvr_opengl
rm -f hackvr_x11
+ rm -f hackvr_fb
rm -f slowcat
rm -f *.o