summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2020-07-17 03:41:27 -0500
committerepoch <epoch@hacking.allowed.org>2020-07-17 03:41:27 -0500
commitd00cf5f8fdd18a5ef0dfbfa8a24db360d4c16029 (patch)
treee0d923a7783d067998d739768738f8be92911198 /src/Makefile
parent961144c7350ef1720316192486f6626a41322098 (diff)
downloadhackvr-d00cf5f8fdd18a5ef0dfbfa8a24db360d4c16029.tar.gz
hackvr-d00cf5f8fdd18a5ef0dfbfa8a24db360d4c16029.zip
hackvr_svg? what kind of madness is this?
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 398aaa8..3588d10 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -17,7 +17,7 @@ CFLAGS+=-DGRAPHICAL
LDFLAGS+=-L$(PREFIX)/lib -L$(LIBIDC_LIB_PATH) -L$(LIBHASHTABLE_LIB_PATH)
#all: hackvr_headless hackvr_x11 hackvr_opengl slowcat ### when hackvr_opengl gets useful at all I'll start including it in default build.
-all: hackvr_fb hackvr_xdie hackvr_headless hackvr_x11 slowcat nonblocktail
+all: hackvr_svg hackvr_fb hackvr_xdie hackvr_headless hackvr_x11 slowcat nonblocktail
# hackvr_fb hackvr_freeglut slowcat
hackvr_xdie: override LDLIBS+=-lm -lidc -lX11 -lhashtable
@@ -32,6 +32,9 @@ hackvr_headless: hackvr_headless.o math.o physics.o
hackvr_x11: override LDLIBS+=-lm -lidc -lX11 -lhashtable
hackvr_x11: hackvr_x11.o graphics_c3.o graphics_c2.o graphics_cs_x11.o math.o physics.o keyboard.o mouse_x11.o keyboard_x11.o
+hackvr_svg: override LDLIBS+=-lm -lidc -lhashtable
+hackvr_svg: hackvr_svg.o graphics_c3.o graphics_c2.o graphics_cs_svg.o math.o physics.o keyboard.o keyboard_die.o mouse_die.o
+
#notice how all the targets have generic graphics objects up until a specific one.
hackvr_fb: override LDLIBS+=-lm -lidc -lhashtable
@@ -46,6 +49,7 @@ hackvr_freeglut: hackvr_freeglut.o graphics_c3_freeglut.o math.o physics.o keybo
hackvr_fb.o: CFLAGS+='-DHVR_VERSION="framebuffer"'
hackvr_x11.o: CFLAGS+='-DHVR_VERSION="x11"'
hackvr_xdie.o: CFLAGS+='-DHVR_VERSION="x11+die"'
+hackvr_svg.o: CFLAGS+='-DHVR_VERSION="svg"'
hackvr_headless.o: CFLAGS=$(BASE_CFLAGS)
hackvr_headless.o: CFLAGS+='-DHVR_VERSION="headless"'
@@ -57,6 +61,7 @@ install: all
install -t $(PREFIX)/bin nonblocktail
install -t $(PREFIX)/bin hackvr_xdie
install -t $(PREFIX)/bin hackvr_fb
+ install -t $(PREFIX)/bin hackvr_svg
# install -t $(PREFIX)/bin hackvr_freeglut
uninstall: