|
|
|
@ -215,7 +215,7 @@ |
|
|
|
|
ifeq ($(SYSTEM),Darwin)
|
|
|
|
|
CXXFLAGS += -stdlib=libc++
|
|
|
|
|
endif
|
|
|
|
|
% for arg in ['CFLAGS', 'CXXFLAGS', 'CPPFLAGS', 'LDFLAGS', 'DEFINES']:
|
|
|
|
|
% for arg in ['CFLAGS', 'CXXFLAGS', 'CPPFLAGS', 'COREFLAGS', 'LDFLAGS', 'DEFINES']:
|
|
|
|
|
% if defaults.get('global', []).get(arg, None) is not None:
|
|
|
|
|
${arg} += ${defaults.get('global').get(arg)}
|
|
|
|
|
% endif
|
|
|
|
@ -1268,6 +1268,16 @@ |
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(HOST_CXX) $(HOST_CXXFLAGS) $(HOST_CPPFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
|
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/src/core/%.o : src/core/%.cc
|
|
|
|
|
$(E) "[CXX] Compiling $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COREFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
|
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/core/%.o : test/core/%.cc
|
|
|
|
|
$(E) "[CXX] Compiling $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
$(Q) $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COREFLAGS) -MMD -MF $(addsuffix .dep, $(basename $@)) -c -o $@ $<
|
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/%.o : %.cc
|
|
|
|
|
$(E) "[CXX] Compiling $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|