mirror of
https://github.com/xenia-project/premake-core.git
synced 2024-11-30 07:00:32 +00:00
Fix makefile PCH tab problem
This commit is contained in:
parent
66362c08c0
commit
0ebb85ba87
@ -717,11 +717,11 @@
|
||||
local cmd = iif(p.languages.isc(cfg.language), "$(CC) -x c-header $(ALL_CFLAGS)", "$(CXX) -x c++-header $(ALL_CXXFLAGS)")
|
||||
_p('\t$(SILENT) %s -o "$@" -MF "$(@:%%.gch=%%.d)" -c "$<"', cmd)
|
||||
_p('$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)')
|
||||
_p('\tifeq (posix,$(SHELLTYPE))')
|
||||
_p('\t\t$(SILENT) touch "$@"')
|
||||
_p('\telse')
|
||||
_p('\t\t$(SILENT) echo $null >> "$@"')
|
||||
_p('\tendif')
|
||||
_p('ifeq (posix,$(SHELLTYPE))')
|
||||
_p('\t$(SILENT) touch "$@"')
|
||||
_p('else')
|
||||
_p('\t$(SILENT) echo $null >> "$@"')
|
||||
_p('endif')
|
||||
_p('else')
|
||||
_p('$(OBJECTS): | $(OBJDIR)')
|
||||
_p('endif')
|
||||
|
@ -102,11 +102,11 @@ $(GCH): $(PCH) | $(OBJDIR)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CXX) -x c++-header $(ALL_CXXFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | $(OBJDIR)
|
||||
endif
|
||||
@ -129,11 +129,11 @@ $(GCH): $(PCH) | $(OBJDIR)
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | $(OBJDIR)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user