From: John Tsiombikas Date: Sun, 2 Oct 2016 04:34:19 +0000 (+0300) Subject: build on macos X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=antikythera;a=commitdiff_plain;h=1548fea8c64ebdfde728f33fd2d1537954ebf38b build on macos --- diff --git a/Makefile b/Makefile index 616c71b..228e095 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ obj = $(src:.cc=.o) $(csrc:.c=.o) dep = $(obj:.o=.d) bin = anti -CFLAGS = -pedantic -Wall -g -CXXFLAGS = -std=c++11 -pedantic -Wall -g -LDFLAGS = $(libgl_$(sys)) -lm -lgmath -lvmath -limago -lresman -lpthread +CFLAGS = -pedantic -Wall -g -I/usr/local/include +CXXFLAGS = -std=c++11 -pedantic -Wall -g -I/usr/local/include +LDFLAGS = -L/usr/local/lib $(libgl_$(sys)) -lm -lgmath -lvmath -limago -lresman -lpthread sys = $(shell uname -s) libgl_Linux = -lGL -lGLU -lglut -lGLEW diff --git a/src/gear.cc b/src/gear.cc index c00b411..e6a5491 100644 --- a/src/gear.cc +++ b/src/gear.cc @@ -1,3 +1,4 @@ +#include #include #include "gear.h" #include "meshgen.h"