From 2b93b2c57f8fea99ed9a5de520b274696e058faf Mon Sep 17 00:00:00 2001 From: cnlohr Date: Wed, 15 Mar 2017 21:32:09 -0400 Subject: fix puff for headset. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 19f7c40..c600573 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,19 @@ LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 -lm -flto -g POSERS:=src/poser_dummy.o src/poser_daveortho.o src/poser_charlesslow.o REDISTS:=redist/json_helpers.o redist/linmath.o redist/jsmn.o LIBSURVIVE_CORE:=src/survive.o src/survive_usb.o src/survive_data.o src/survive_process.o src/ootx_decoder.o src/survive_driverman.o src/survive_vive.o src/survive_config.o src/survive_cal.o +LIBSURVIVE_CORE:=$(LIBSURVIVE_CORE) LIBSURVIVE_O:=$(POSERS) $(REDISTS) $(LIBSURVIVE_CORE) LIBSURVIVE_C:=$(LIBSURVIVE_O:.o=.c) +#Useful Preprocessor Directives: +# -DUSE_DOUBLE = use double instead of float for most operations. +# -DNOZLIB = use puff.c +# -DTCC = various things needed for TCC. +# -DWINDOWS -DWIN32 = Building for Windows +# -DHIDAPI = Build vive driver to use USBHID instead of interrupt/control messages. +# -DRUNTIME_SYMNUM = Don't assume __attribute__((constructor)) works. Instead comb for anything starting with REGISTER. + + GRAPHICS_LOFI:=redist/DrawFunctions.o redist/XDriver.o # unused: redist/crc32.c -- cgit v1.2.3