summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2017-01-03 00:30:28 -0600
committerepoch <epoch@hacking.allowed.org>2017-01-03 00:30:28 -0600
commitebde46bc82bebf478db67abef5b7dc88c014706b (patch)
tree77121f0c18b1845b8c3cfdfec962e9c5b2ec7e67 /src/Makefile
parentf7353ec277198b295c6c842a4a4a07b403b2a572 (diff)
downloadhackvr-ebde46bc82bebf478db67abef5b7dc88c014706b.tar.gz
hackvr-ebde46bc82bebf478db67abef5b7dc88c014706b.zip
lots and lots of shit. opengl shit is barely worked on. new pl script to obj2hackvr using more than just triangles.http://hackaday.com/blog/http://hackaday.com/blog/
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 136e8d2..6ae7cee 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,20 +1,21 @@
### if you want X11: CFLAGS=-Wall -pedantic -std=c99 -DGRAPHICAL
### and add graphics.o to hackvr build target.
### fuck it. I'll fix it later.
-CFLAGS=-Wall -pedantic -std=c99 -DGRAPHICAL
+CFLAGS=-Wall -pedantic -std=c99 -DGRAPHICAL -ffast-math
+#CFLAGS=-std=c99 -DGRAPHICAL -ffast-math
all: hackvr slowcat
hackvr: LDLIBS=-lm -lX11
-hackvr: hackvr.o graphics.o
+hackvr: hackvr.o graphics.o graphics_x11.o
-# x11.o: LDLIBS=-lm -lX11
+graphics_x11.o: LDLIBS=-lm -lX11
hackvr.o: LDLIBS=-lm -lX11
graphics.o: LDLIBS=-lm -lX11
clean:
- rm hackvr
- rm slowcat
- rm *.o
+ rm -f hackvr
+ rm -f slowcat
+ rm -f *.o