diff options
author | epoch <epoch@hacking.allowed.org> | 2018-02-03 22:37:26 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2018-02-03 22:37:26 -0600 |
commit | 8caee377c047a60dde897de6de3ce246ceff1b90 (patch) | |
tree | 36a744d2646c7466a2e142d50593d59c43342947 | |
parent | b8e79deb5b362cf572a31be7cba75a6c6f602358 (diff) | |
download | hackvr-8caee377c047a60dde897de6de3ce246ceff1b90.tar.gz hackvr-8caee377c047a60dde897de6de3ce246ceff1b90.zip |
added hackvr_fb to makefile
-rw-r--r-- | src/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 5e233f7..cfe3469 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ CFLAGS=-Wall -pedantic -std=c99 -DGRAPHICAL -ffast-math #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_headless hackvr_x11 slowcat +all: hackvr_headless hackvr_x11 hackvr_fb slowcat ln -sf hackvr_x11 hackvr hackvr_headless: LDLIBS=-lm @@ -13,6 +13,9 @@ hackvr_x11: LDLIBS=-lm -lX11 hackvr_x11: hackvr_x11.o graphics_c3.o graphics_c2.o graphics_cs_x11.o math.o #notice how all the targets have generic graphics objects up until a specific one. +hackvr_fb: LDLIBS=-lm +hackvr_fb: hackvr_fb.o graphics_c3.o graphics_c2.o graphics_cs_fb.o math.o + hackvr_opengl: LDLIBS=-lm -lGL -lGLU -lglut hackvr_opengl: hackvr_opengl.o graphics_c3.o graphics_c2_opengl.o graphics_cs_opengl.o math.o @@ -34,11 +37,13 @@ math.o: LDLIBS=-lm install: install hackvr $(PREFIX)/bin/hackvr install hackvr_x11 $(PREFIX)/bin/hackvr_x11 + install hackvr_fb $(PREFIX)/bin/hackvr_fb install slowcat $(PREFIX)/bin/slowcat uninstall: rm $(PREFIX)/bin/hackvr rm $(PREFIX)/bin/hackvr_x11 + rm $(PREFIX)/bin/hackvr_fb rm $(PREFIX)/bin/slowcat clean: |