From bf89e4cfa7191c3ea9bb3eeee7005db250001d55 Mon Sep 17 00:00:00 2001 From: ultramn Date: Sat, 4 Feb 2017 20:00:07 -0800 Subject: Added plot_lighthouse in dave folder --- dave/plot_lighthouse/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dave/plot_lighthouse/Makefile (limited to 'dave/plot_lighthouse/Makefile') 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 -- cgit v1.2.3