From f7353ec277198b295c6c842a4a4a07b403b2a572 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 21 Dec 2016 11:58:30 -0600 Subject: trying to split up hackvr.c into graphical and non-graphical stuff to make it easier to port it to different graphic systems --- src/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Makefile (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..136e8d2 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,20 @@ +### 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 + +all: hackvr slowcat + +hackvr: LDLIBS=-lm -lX11 +hackvr: hackvr.o graphics.o + +# x11.o: LDLIBS=-lm -lX11 + +hackvr.o: LDLIBS=-lm -lX11 + +graphics.o: LDLIBS=-lm -lX11 + +clean: + rm hackvr + rm slowcat + rm *.o -- cgit v1.2.3