1 # A few common Makefile items
9 LIB_SO = lib$(LIB_NAME).so
12 INCLUDE = -I$(BASE)/include -I../include
14 # C preprocessor flags
15 CPPFLAGS += $(INCLUDE) -g
18 CXXFLAGS += $(CPPFLAGS)
24 LDFLAGS += -L$(BASE) -l$(LIB_NAME) -rdynamic
27 ifeq ($(UNAME), Darwin)
28 MACFLAGS = -D_XOPEN_SOURCE -DMAC
29 CPPFLAGS += $(MACFLAGS)
30 CXXFLAGS += $(MACFLAGS)
32 LDFLAGS += $(MACFLAGS)