From 39ef5af74702c8825a82f65cf68e6af875a814ee Mon Sep 17 00:00:00 2001 From: ultramn Date: Thu, 23 Mar 2017 00:41:22 -0400 Subject: Added a dynamic plotting tool for OrthoSolve. Charles added orthogonalization to the rotation matrix. --- dave/Makefile | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'dave/Makefile') diff --git a/dave/Makefile b/dave/Makefile index bf62837..330bda3 100644 --- a/dave/Makefile +++ b/dave/Makefile @@ -1,7 +1,21 @@ +UNAME:=$(shell uname) + +CFLAGS:= -lm -I../redist -I../src -I../include/libsurvive + +ifeq ($(UNAME), Linux) +CFLAGS:= $(CFLAGS) -lGL -lGLU -lglut -lX11 -I../../redist -DLINUX -lm -lpthread -DLINUX +endif + +# Darwin is Mac OSX !! +ifeq ($(UNAME), Darwin) +CFLAGS:= $(CFLAGS) -I../../redist -w -framework OpenGL -framework GLUT +endif + + all: # gcc -O3 -o kalman_filter kalman_filter.c main.c - gcc -O3 -o dclapack_test dclapack_test.c -lm - gcc -O0 -g -o AffineSolve AffineSolve.c -lm -I../redist ../redist/linmath.c #-Wall - + gcc -O3 -o dclapack_test dclapack_test.c $(CFLAGS) + gcc -O3 -o AffineSolve AffineSolve.c $(CFLAGS) ../redist/linmath.c #-Wall + gcc -O3 -o OrthoPlot OrthoPlot.c fileutil.c ../redist/linmath.c ../redist/os_generic.c $(CFLAGS) clean: rm -f kalman_filter dclapack_test -- cgit v1.2.3