Changeset 2203 for trunk


Ignore:
Timestamp:
Jul 4, 2005, 3:07:26 AM (20 years ago)
Author:
bird
Message:

Ensure that the dirs are created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/templates.smak

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r2202 r2203  
    33# Generate compilation rule for a c file
    44define def_compile_c
    5 $$.$(call OBJFILE,$(1)): $(1)
     5$$.$(call OBJFILE,$(1)): $(1) | $(dir $$.$(call OBJFILE,$(1)))
    66        $$(call DO.COMPILE.c,$(.TCF) $(.TCF.$(1)))
    77endef
     
    99# Generate compilation rule for a S file
    1010define def_compile_S
    11 $$.$(call OBJFILE,$(1)): $(1)
     11$$.$(call OBJFILE,$(1)): $(1) | $(dir $$.$(call OBJFILE,$(1)))
    1212        $$(call DO.COMPILE.s,$(.TSF) $(.TSF.$(1)))
    1313endef   
     
    1515# Generate compilation rule for an asm files
    1616define def_compile_asm
    17 $$.$(call OBJFILE,$(1)): $(1)
     17$$.$(call OBJFILE,$(1)): $(1) | $(dir $$.$(call OBJFILE,$(1)))
    1818        $$(call DO.COMPILE.asm,$(.TAF) $(.TAF.$(1)))
    1919endef
Note: See TracChangeset for help on using the changeset viewer.