aboutsummaryrefslogtreecommitdiff
path: root/tools/plot_lighthouse/Makefile
diff options
context:
space:
mode:
authorultramn <dchapm2@umbc.edu>2017-02-04 20:03:12 -0800
committerultramn <dchapm2@umbc.edu>2017-02-04 20:03:12 -0800
commit2afbb0313dafe3f52a38ee2061cb1de8043d16e6 (patch)
tree305a3ed5762b3e17e9290b387e08a5157af982f3 /tools/plot_lighthouse/Makefile
parent4c44cd91e2190ca55e4bffca6491b4171b3bbdca (diff)
downloadlibsurvive-2afbb0313dafe3f52a38ee2061cb1de8043d16e6.tar.gz
libsurvive-2afbb0313dafe3f52a38ee2061cb1de8043d16e6.tar.bz2
Moved plot_lighthouse to the tools folder
Diffstat (limited to 'tools/plot_lighthouse/Makefile')
-rw-r--r--tools/plot_lighthouse/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/plot_lighthouse/Makefile b/tools/plot_lighthouse/Makefile
new file mode 100644
index 0000000..d156bdb
--- /dev/null
+++ b/tools/plot_lighthouse/Makefile
@@ -0,0 +1,15 @@
+UNAME := $(shell uname)
+
+ifeq ($(UNAME), Linux)
+CFLAGS:= -lGL -lGLU -lglut
+endif
+
+# Darwin is Mac OSX !!
+ifeq ($(UNAME), Darwin)
+CFLAGS:= -w -framework OpenGL -framework GLUT
+endif
+
+all:
+ gcc -O3 -o plot_lighthouse main.c glutil.c fileutil.c ../../redist/os_generic.c $(CFLAGS)
+clean:
+ rm -f plot_lighthouse