Changeset 148


Ignore:
Timestamp:
May 15, 2003, 4:31:02 PM (22 years ago)
Author:
zap
Message:

Moved .MODULE dependency out of ifdef .TSRC

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r147 r148  
    1010.MDESC :=
    1111endif # def .MDESC
     12ifdef .MDEP
     13$(.MODULE): $(.MDEP)
     14.MDEP :=
     15endif # def .MDEP
    1216endif # eq ($(findstring $(.MODULE),$(MODULES)),)
    1317endif # def .MODULE
     
    5963.DIRS := $(sort $(dir $(.OBJS)))
    6064TARGDIRS += $(.DIRS)
    61 endif # .TSRC
    6265
    63 ifdef .MDEP
    64 $(.MODULE): $(.MDEP)
    65 .MDEP :=
    66 endif
    67 
    68 ifdef .MODULE
    69 $(.MODULE): $(.DIRS) $.$(.TARG)
    70 endif
    71 
    72 ifdef .TSRC
    7366# Remove the names of files for which we already generated build rules
    7467# so that we won't generate same rule twice. In general this is not very
     
    10497endif # def .TSRC
    10598
     99ifdef .TARGET
     100ifdef .MODULE
     101$(.MODULE): $(.DIRS) $.$(.TARG)
     102endif
     103endif
     104
    106105# Replace the special sequence in .TDEP @O@ with $.$(.TKIND.DIR)
    107106.DEPS := $(subst @O@,$.$(.TKIND.DIR),$(.TDEP))
Note: See TracChangeset for help on using the changeset viewer.