diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
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 |