Don't know why I have to commit this, it might make things worse, but it won't let me pull without it.
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
-CFLAGS:= -lGL -lGLU -lglut
+CFLAGS:= -I../../redist -lGL -lGLU -lglut
endif
# Darwin is Mac OSX !!
ifeq ($(UNAME), Darwin)
-CFLAGS:= -w -framework OpenGL -framework GLUT
+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 $(CFLAGS)
+ gcc -O3 -o plot_lighthouse main.c glutil.c fileutil.c ../../redist/os_generic.c ../../redist/linmath.c $(CFLAGS)
clean:
rm -f plot_lighthouse
