Ignore:
Timestamp:
Sep 27, 2007, 7:19:09 PM (18 years ago)
Author:
bird
Message:

don't include .res files in the link.

File:
1 edited

Legend:

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

    r1097 r1145  
    191191        $(QUIET)$(TOOL_VAC308_ENV_SETUP) \
    192192        $(if $(strip $(libpath)),LIB="$(subst ; ,;,$(foreach lp,$(libpath),$(lp);))$(LIB)") \
    193                 $(TOOL_VAC308_LD) $(flags) -Fe$(out) -Fm$(outbase).map $(objs) $(libs) $(othersrc)
     193                $(TOOL_VAC308_LD) $(flags) -Fe$(out) -Fm$(outbase).map $(filter-out %.res,$(objs)) $(libs) $(othersrc)
    194194endef
    195195
     
    215215        $(QUIET)$(TOOL_VAC308_ENV_SETUP) \
    216216        $(if $(strip $(libpath)),LIB="$(subst ; ,;,$(foreach lp,$(libpath),$(lp);))$(LIB)") \
    217                 $(TOOL_VAC308_LD) /B"/DLL" $(flags) -Fe$(out) -Fm$(outbase).map $(objs) $(libs) $(othersrc)
     217                $(TOOL_VAC308_LD) /B"/DLL" $(flags) -Fe$(out) -Fm$(outbase).map $(filter-out %.res,$(objs)) $(libs) $(othersrc)
    218218endef
    219219
     
    239239        $(QUIET)$(TOOL_VAC308_ENV_SETUP) \
    240240        $(if $(strip $(libpath)),LIB="$(subst ; ,;,$(foreach lp,$(libpath),$(lp);))$(LIB)") \
    241                 $(TOOL_VAC308_LD) $(flags) -Fe$(out)  -Fm$(outbase).map $(objs) $(libs) $(othersrc)
    242 endef
    243 
     241                $(TOOL_VAC308_LD) $(flags) -Fe$(out)  -Fm$(outbase).map $(filter-out %.res,$(objs)) $(libs) $(othersrc)
     242endef
     243
Note: See TracChangeset for help on using the changeset viewer.