aboutsummaryrefslogtreecommitdiff
path: root/tools/plot_lighthouse/Makefile
blob: 38eece046c53d841b266be39128448c72b6b8bef (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:= -I../../redist -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