aboutsummaryrefslogtreecommitdiff
path: root/tools/plot_lighthouse/Makefile
blob: db382eabbb60b958fc66d3d82dc183c95f975db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
UNAME := $(shell uname)

ifeq ($(UNAME), Linux)
CFLAGS:= -lGL -lGLU -lglut -I../../redist -DLINUX -lm -lpthread
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 ../../redist/linmath.c $(CFLAGS)
clean:
	rm -f plot_lighthouse