Ignore:
Timestamp:
Jun 23, 2005, 8:36:41 PM (20 years ago)
Author:
bird
Message:

Do dependencies first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/VCC70.kmk

    r262 r300  
    7676define TOOL_VCC70_COMPILE_C
    7777#$ (warning dbg: TOOL_VCC70_COMPILE_C: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff))
    78 $(obj): $(source) $(deps) | $(dirdep)
     78$(obj): $(deps) $(source) | $(dirdep)
    7979        $(call MSG_L2,Compiling $$@ using VCC70)
    8080        $(TOOL_VCC70_CC) -c\
     
    107107define TOOL_VCC70_COMPILE_CXX
    108108#$ (warning dbg: TOOL_VCC70_COMPILE_CXX: target=$(target) source=$(source) obj=$(obj) dep=$(dep) flags=$(flags) defs=$(defs) incs=$(incs) dirdep=$(dirdep) outbase=$(outbase) objsuff=$(objsuff))
    109 $(obj): $(source) $(deps) | $(dirdep)
     109$(obj): $(deps) $(source) | $(dirdep)
    110110        $(call MSG_L2,Compiling $$@ using VCC70)
    111111        $(TOOL_VCC70_CXX) -c\
     
    135135define TOOL_VCC70_LINK_LIBRARY
    136136#$ (warning dbg: TOOL_VCC70_LINK_LIBRARY: target=$(target) lib=$(lib) objs=$(objs) deps=$(deps) flags=$(flags) dirdep=$(dirdep) outbase=$(outbase))
    137 $(lib): $(objs) $(deps) $(othersrc) | $(dirdep)
     137$(lib): $(deps) $(objs) $(othersrc) | $(dirdep)
    138138        $(call MSG_L1,Creating Library $$@)
    139139        $(RM) -f $$@
     
    161161define TOOL_VCC70_LINK_PROGRAM
    162162#$ (warning dbg: TOOL_VCC70_LINK_PROGRAM: target=$(target) exe=$(exe) objs=$(objs) libs=$(libs) deps=$(deps) flags=$(flags) dirdep=$(dirdep) othersrc=$(othersrc) outbase=$(outbase))
    163 $(exe): $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(deps) $(othersrc) | $(dirdep)
     163$(exe): $(deps) $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) | $(dirdep)
    164164        $(call MSG_L1,Creating Program $$@)
    165165ifneq ($(custom_pre),)
     
    199199define TOOL_VCC70_LINK_SYSMOD
    200200#$ (warning dbg: TOOL_VCC70_LINK_SYSMOD: target=$(target) sys=$(sys) objs=$(objs) libs=$(libs) deps=$(deps) flags=$(flags) dirdep=$(dirdep) othersrc=$(othersrc) outbase=$(outbase))
    201 $(sys): $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(deps) $(othersrc) | $(dirdep)
     201$(sys): $(deps) $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) | $(dirdep)
    202202        $(call MSG_L1,Creating Program $$@)
    203203ifneq ($(custom_pre),)
     
    237237define TOOL_VCC70_LINK_DLL
    238238#$ (warning dbg: TOOL_VCC70_LINK_DLL: target=$(target) dll=$(dll) objs=$(objs) libs=$(libs) deps=$(deps) flags=$(flags) dirdep=$(dirdep) othersrc=$(othersrc) outbase=$(outbase))
    239 $(dll): $(call DIRDEP,$(PATH_LIB)) $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(deps) $(othersrc) | $(dirdep)
     239$(dll): $(deps) $(call DIRDEP,$(PATH_LIB)) $(objs) $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib))) $(othersrc) | $(dirdep)
    240240        $(call MSG_L1,Creating Program $$@)
    241241ifneq ($(custom_pre),)
Note: See TracChangeset for help on using the changeset viewer.