aboutsummaryrefslogtreecommitdiff
path: root/dave/plot_lighthouse/Makefile
blob: d156bdbb77422ca5130a103125125567f83836a8 (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
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