endif
else ifeq ($(platform),Darwin)
+ CFLAGS += -I/usr/include/malloc/
LDLIBS = -L/opt/local/lib -lreadline -lpthread -lm
CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O3
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)