From ebde46bc82bebf478db67abef5b7dc88c014706b Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 3 Jan 2017 00:30:28 -0600 Subject: 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/ --- src/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/Makefile') 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 -- cgit v1.2.3