From 2afbb0313dafe3f52a38ee2061cb1de8043d16e6 Mon Sep 17 00:00:00 2001 From: ultramn Date: Sat, 4 Feb 2017 20:03:12 -0800 Subject: Moved plot_lighthouse to the tools folder --- tools/plot_lighthouse/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/plot_lighthouse/Makefile (limited to 'tools/plot_lighthouse/Makefile') 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 -- cgit v1.3.1