update tests to reflect pch generation rule changes
This commit is contained in:
parent
325edfcb6f
commit
c926aa2dd1
@ -96,6 +96,11 @@ ifneq (,$(PCH))
|
|||||||
$(OBJECTS): $(GCH) $(PCH)
|
$(OBJECTS): $(GCH) $(PCH)
|
||||||
$(GCH): $(PCH)
|
$(GCH): $(PCH)
|
||||||
@echo $(notdir $<)
|
@echo $(notdir $<)
|
||||||
|
ifeq (posix,$(SHELLTYPE))
|
||||||
|
$(SILENT) mkdir -p $(OBJDIR)
|
||||||
|
else
|
||||||
|
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||||
|
endif
|
||||||
$(SILENT) $(CXX) -x c++-header $(ALL_CXXFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
$(SILENT) $(CXX) -x c++-header $(ALL_CXXFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||||
endif
|
endif
|
||||||
]]
|
]]
|
||||||
@ -115,6 +120,11 @@ ifneq (,$(PCH))
|
|||||||
$(OBJECTS): $(GCH) $(PCH)
|
$(OBJECTS): $(GCH) $(PCH)
|
||||||
$(GCH): $(PCH)
|
$(GCH): $(PCH)
|
||||||
@echo $(notdir $<)
|
@echo $(notdir $<)
|
||||||
|
ifeq (posix,$(SHELLTYPE))
|
||||||
|
$(SILENT) mkdir -p $(OBJDIR)
|
||||||
|
else
|
||||||
|
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||||
|
endif
|
||||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||||
endif
|
endif
|
||||||
]]
|
]]
|
||||||
|
Reference in New Issue
Block a user