blob: 6ae7cee589a4edfafcaf9addb48e6fc58ccac8de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 -ffast-math
#CFLAGS=-std=c99 -DGRAPHICAL -ffast-math
all: hackvr slowcat
hackvr: LDLIBS=-lm -lX11
hackvr: hackvr.o graphics.o graphics_x11.o
graphics_x11.o: LDLIBS=-lm -lX11
hackvr.o: LDLIBS=-lm -lX11
graphics.o: LDLIBS=-lm -lX11
clean:
rm -f hackvr
rm -f slowcat
rm -f *.o
|