diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 13 |
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 |