summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile20
1 files changed, 20 insertions, 0 deletions
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