3 OBJECTS := $(patsubst %.c, %.o, $(wildcard *.c))
4 OBJECTS += $(patsubst %.cc, %.o, $(wildcard *.cc))
6 include $(BASE)/common.mk
8 DEPS := $(join $(addsuffix ., $(dir $(OBJECTS))), $(addsuffix .d, $(notdir $(OBJECTS))))
10 CPPFLAGS += -I$(BASE) -I$(BASE)/include
17 $(CC) -MMD -MF $(@D)/.$(@F).d -o $@ $< $(CPPFLAGS) -L$(BASE) -l$(TEST_LIB_SO)
20 $(CXX) -MMD -MF $(@D)/.$(@F).d -o $@ $< $(CPPFLAGS) -L$(BASE) -l$(TEST_LIB_SO)
23 rm -f $(OBJECTS) $(DEPS)