diff options
author | ultramn <dchapm2@umbc.edu> | 2017-02-19 11:02:20 -0800 |
---|---|---|
committer | ultramn <dchapm2@umbc.edu> | 2017-02-19 11:02:20 -0800 |
commit | 771ca61466c7b510d42bade3a8b607fabac49c32 (patch) | |
tree | f45cab2bb491a206cebb6c6c75fd86d478a9ad53 /tools/plot_lighthouse | |
parent | e593db4c3a3575f826682d5eb9e402372aa1ba98 (diff) | |
parent | bd89d46cb01f7069166e85f017f169e07acc7094 (diff) | |
download | libsurvive-771ca61466c7b510d42bade3a8b607fabac49c32.tar.gz libsurvive-771ca61466c7b510d42bade3a8b607fabac49c32.tar.bz2 |
plot_lighthouse/Makefile
Diffstat (limited to 'tools/plot_lighthouse')
-rw-r--r-- | tools/plot_lighthouse/Makefile | 2 | ||||
-rw-r--r-- | tools/plot_lighthouse/main.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tools/plot_lighthouse/Makefile b/tools/plot_lighthouse/Makefile index 07bdcb9..38eece0 100644 --- a/tools/plot_lighthouse/Makefile +++ b/tools/plot_lighthouse/Makefile @@ -1,7 +1,7 @@ UNAME := $(shell uname) ifeq ($(UNAME), Linux) -CFLAGS:= -I../../redist -lGL -lGLU -lglut +CFLAGS:= -lGL -lGLU -lglut -I../../redist -DLINUX -lm -lpthread endif # Darwin is Mac OSX !! diff --git a/tools/plot_lighthouse/main.c b/tools/plot_lighthouse/main.c index 8088828..4a64c28 100644 --- a/tools/plot_lighthouse/main.c +++ b/tools/plot_lighthouse/main.c @@ -13,6 +13,11 @@ #include "glutil.h" #include "fileutil.h" +#ifdef LINUX +#include <GL/freeglut.h> +#endif + + // Required to set up a window #define WIDTH 800 #define HEIGHT 600 |