diff options
author | epoch <epoch@hacking.allowed.org> | 2017-01-09 01:33:46 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-01-09 01:33:46 -0600 |
commit | 0d84223a1198ccecb8b4a61fdb0ee82fb2332680 (patch) | |
tree | 79c291ba6c74a87c52e8e38c8e036d1ccc7a8fb1 /src | |
parent | d6e8fd3a5d3b6d07e26a00cbf610d5587e2840a4 (diff) | |
download | hackvr-0d84223a1198ccecb8b4a61fdb0ee82fb2332680.tar.gz hackvr-0d84223a1198ccecb8b4a61fdb0ee82fb2332680.zip |
fixed a bug I notied where -DGRAPHICAL was for the wrong target
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 1366de2..e4e5f16 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,12 +1,8 @@ -### 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 -ffast-math all: hackvr_headless hackvr_x11 hackvr_opengl slowcat hackvr_headless: LDLIBS=-lm -hackvr_headless: CFLAGS=-Wall -pedantic -std=c99 -ffast-math hackvr_headless: hackvr_headless.o math.o hackvr_x11: LDLIBS=-lm -lX11 @@ -17,6 +13,8 @@ hackvr_opengl: hackvr_opengl.o graphics.o graphics_opengl.o math.o hackvr_opengl.o: LDLIBS=-lm -lGL -lGLU -lglut hackvr_x11.o: LDLIBS=-lm -lX11 + +hackvr_headless.o: CFLAGS=-Wall -pedantic -std=c99 -ffast-math hackvr_headless.o: LDLIBS=-lm graphics.o: LDLIBS=-lm -lX11 |