aboutsummaryrefslogtreecommitdiff
path: root/dave/plot_lighthouse/Makefile
diff options
context:
space:
mode:
authorultramn <dchapm2@umbc.edu>2017-02-04 20:00:07 -0800
committerultramn <dchapm2@umbc.edu>2017-02-04 20:00:07 -0800
commitbf89e4cfa7191c3ea9bb3eeee7005db250001d55 (patch)
tree61c7ec93321b12ff4b21f05ad53977f0ea157ef2 /dave/plot_lighthouse/Makefile
parenta09f7c5b7df9298e9fd6679192994a33e5867f72 (diff)
downloadlibsurvive-bf89e4cfa7191c3ea9bb3eeee7005db250001d55.tar.gz
libsurvive-bf89e4cfa7191c3ea9bb3eeee7005db250001d55.tar.bz2
Added plot_lighthouse in dave folder
Diffstat (limited to 'dave/plot_lighthouse/Makefile')
-rw-r--r--dave/plot_lighthouse/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/dave/plot_lighthouse/Makefile b/dave/plot_lighthouse/Makefile
new file mode 100644
index 0000000..d156bdb
--- /dev/null
+++ b/dave/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