aboutsummaryrefslogtreecommitdiff
path: root/tools/plot_lighthouse/Makefile
diff options
context:
space:
mode:
authorJosh Allen <axlecrusher@gmail.com>2017-02-13 15:57:41 -0500
committerJosh Allen <axlecrusher@gmail.com>2017-02-13 15:57:41 -0500
commit6c99f7abf29463df723221dcaa8c3fe7c93c3371 (patch)
tree562b87e108460eea416cedc183b1ce333bee386e /tools/plot_lighthouse/Makefile
parentfa88e40fa07c3cf425b45fe56cf6dda613545e36 (diff)
parentee433e4a076f77fa28e4d55d6703d6ed7c599251 (diff)
downloadlibsurvive-6c99f7abf29463df723221dcaa8c3fe7c93c3371.tar.gz
libsurvive-6c99f7abf29463df723221dcaa8c3fe7c93c3371.tar.bz2
Merge github.com:cnlohr/libsurvive
Diffstat (limited to 'tools/plot_lighthouse/Makefile')
-rw-r--r--tools/plot_lighthouse/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/plot_lighthouse/Makefile b/tools/plot_lighthouse/Makefile
index d156bdb..db382ea 100644
--- a/tools/plot_lighthouse/Makefile
+++ b/tools/plot_lighthouse/Makefile
@@ -1,7 +1,7 @@
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
-CFLAGS:= -lGL -lGLU -lglut
+CFLAGS:= -lGL -lGLU -lglut -I../../redist -DLINUX -lm -lpthread
endif
# Darwin is Mac OSX !!
@@ -10,6 +10,6 @@ CFLAGS:= -w -framework OpenGL -framework GLUT
endif
all:
- gcc -O3 -o plot_lighthouse main.c glutil.c fileutil.c ../../redist/os_generic.c $(CFLAGS)
+ gcc -O3 -o plot_lighthouse main.c glutil.c fileutil.c ../../redist/os_generic.c ../../redist/linmath.c $(CFLAGS)
clean:
rm -f plot_lighthouse