# # General definitions for Makefiles # C++ = c++ CC = gcc #CC = c++ G++ = g++ #OSTYPE = linux ifeq ($(OSTYPE),linux) OSXLIBS = -L/sw/lib DO_CAST = -DDO_CAST endif CFLAGS = -pedantic -pipe -fthread-jumps -funroll-all-loops -g -O3 -Wall -Wuninitialized -Wmissing-prototypes CPPFLAGS = -pedantic -pipe -fthread-jumps -funroll-all-loops -g -O3 -Wall -Wuninitialized -Wno-deprecated $(DO_CAST) LIBS = -lz -lpthread -lutil -lfl -lusb -lftdi -L/usr/lib $(OSXLIBS)