From 03c135688893423cf3fde2c0576ff64407eab6aa Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 7 Jan 2017 14:33:39 -0600 Subject: working on opengl but set defaults back to x11 --- src/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Makefile b/src/Makefile index 6ae7cee..4e93005 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,8 +6,15 @@ CFLAGS=-Wall -pedantic -std=c99 -DGRAPHICAL -ffast-math all: hackvr slowcat +#for x11 hackvr: LDLIBS=-lm -lX11 +#for opengl +#hackvr: LDLIBS=-lm -lGL -lGLU -lglut + hackvr: hackvr.o graphics.o graphics_x11.o +#hackvr: hackvr.o graphics.o graphics_opengl.o + +graphics_opengl.o: LDLIBS=-lm -lGL -lGLU -lglut graphics_x11.o: LDLIBS=-lm -lX11 -- cgit v1.2.3