aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-04-29 15:59:58 -0400
committercnlohr <lohr85@gmail.com>2017-04-29 15:59:58 -0400
commit5e934529f953794f7d8a070766fd56e02eeb8b05 (patch)
tree615f92e52ffa6ea808f98ba46f6b2f6b46dfb749 /Makefile
parentd88598b76e5d8d706969884f95f7a25441033c56 (diff)
downloadlibsurvive-5e934529f953794f7d8a070766fd56e02eeb8b05.tar.gz
libsurvive-5e934529f953794f7d8a070766fd56e02eeb8b05.tar.bz2
Allow modificaiton of .o files for inclusion of different features.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1899c4c..22cbdcb 100644
--- a/Makefile
+++ b/Makefile
@@ -28,9 +28,6 @@ endif
POSERS:=src/poser_dummy.o src/poser_daveortho.o src/poser_charlesslow.o
REDISTS:=redist/json_helpers.o redist/linmath.o redist/jsmn.o redist/os_generic.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)
#If you want to use HIDAPI on Linux.
@@ -48,6 +45,11 @@ LIBSURVIVE_C:=$(LIBSURVIVE_O:.o=.c)
+
+LIBSURVIVE_CORE:=$(LIBSURVIVE_CORE)
+LIBSURVIVE_O:=$(POSERS) $(REDISTS) $(LIBSURVIVE_CORE)
+LIBSURVIVE_C:=$(LIBSURVIVE_O:.o=.c)
+
# unused: redist/crc32.c
test : test.c ./lib/libsurvive.so redist/os_generic.o