Skip to content

Instantly share code, notes, and snippets.

@bmount
Created January 16, 2014 10:01
Show Gist options
  • Save bmount/8452479 to your computer and use it in GitHub Desktop.
Save bmount/8452479 to your computer and use it in GitHub Desktop.
Build ccv on osx 10.9
--- a/lib/makefile
+++ b/lib/makefile
@@ -1,7 +1,7 @@
include config.mk
#CC += -faddress-sanitizer -fno-omit-frame-pointer
-CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage
+CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage -I/usr/local/include -L/usr/local/lib
.PHONY: all clean
diff --git a/serve/makefile b/serve/makefile
index f7212c6..9e19587 100644
--- a/serve/makefile
+++ b/serve/makefile
@@ -1,7 +1,8 @@
include ../lib/config.mk
-#CC += -faddress-sanitizer -fno-omit-frame-pointer
-LDFLAGS := -L"../lib" -lccv -lev -ldispatch $(LDFLAGS)
-CFLAGS := -O3 -Wall -I"../lib" $(CFLAGS)
+#CC += -v -faddress-sanitizer -fno-omit-frame-pointer
+CC += -v
+LDFLAGS := -L"../lib" -lccv -lev -L/usr/lib/system -L/usr/local/lib $(LDFLAGS)
+CFLAGS := -O3 -Wall -I"../lib" -I/usr/local/include $(CFLAGS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment