ENH: rationalize wmake rules to avoid unnecessary duplication

- main mplib rules located in GENERAL_RULES with specializations
  (if any) under RULES. Modest change in a few options files, but
  cleans up the rules directories.

  previously in options:
      include $(RULES)/mplib$(WM_MPLIB)

  now in options:
      sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
      sinclude $(RULES)/mplib$(WM_MPLIB)

  For GNU make it would be permissible to write both in a single line.
This commit is contained in:
Mark Olesen
2010-04-22 15:01:07 +02:00
parent 4d2a297a67
commit 0d44584112
115 changed files with 12 additions and 116 deletions

View File

@ -48,7 +48,7 @@ OPTIONS = $(WM_OPTIONS)/options
#------------------------------------------------------------------------------
$(OPTIONS) : options
@$(WM_SCRIPTS)/makeDir $(WM_OPTIONS) ; $(CPP) $(GFLAGS) options > $(OPTIONS)
@$(WM_SCRIPTS)/makeDir $(WM_OPTIONS) ; $(CPP) $(GFLAGS) options | sed -e 's@ *@ @g' > $(OPTIONS)
#------------------------------------------------------------------------------