1 # A few common Makefile items
9 LIB_SO = lib$(LIB_NAME).so
12 INCLUDE = -I$(BASE)/include -I../include
14 CPPFLAGS += $(INCLUDE) $(FLAGS)
15 CFLAGS += $(INCLUDE) $(FLAGS)
16 LDFLAGS += -L$(BASE) -l$(LIB_NAME) -rdynamic
19 ifeq ($(UNAME), Darwin)
20 MACFLAGS = -D_XOPEN_SOURCE -DMAC
21 CPPFLAGS += $(MACFLAGS)
23 LDFLAGS += $(MACFLAGS)