Changeset 611 for trunk


Ignore:
Timestamp:
Apr 19, 2007, 12:47:56 AM (19 years ago)
Author:
John Small
Message:
  • Changed to support the improved WPI build process.
  • Improved the distclean target code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/warpin/makefile

    r600 r611  
    1 # warpin\makefile - build the fm/2 Warpin installation file: FM2.WIS
    2 
    3 #    Notes
    4 #       if no WPI file or changed bld_fm2_wpidirs.txt or any of the FILE:'s within have changed
    5 #          bld_fm2_wpidirs
    6 #          bld_fm2_wpi
    7 #       else
    8 #          if changed fm2.wis file
    9 #             bls_fm2_wpi /SCRIPT
     1# warpin\makefile - build the FM/2 Warpin installation file: FM2.WIS
    102
    113# Environment:
     
    135# DEBUG  0 = release build, 1 = debug build
    146
    15 BASE = fm2
    16 
    17 # !include makefile_pre.mk
    18 
    19 # all: files script
    20 #
    21 # files: bld_fm2_wpidirs.last
    22 # files: bld_fm2_wpidirs.last
    23 #
    24 # bld_fm2_wpidirs.last: bld_fm2_wpidirs.txt bld_fm2_wpidirs.cmd
    25 # # stage the files to be included in the WPI file
    26 #    @echo Staging files for WPI file...
    27 #    bld_fm2_wpidirs
    28 # # perform a complete build of the WPI file
    29 #    @echo Creating new WPI file...
    30 #    bld_fm2_wpi
    31 #
    32 # script: fm2.wpi
    33 # #script: fm2.wis
    34 #
    35 # fm2.wpi: fm2.wis
    36 # # just add the new script to the WPI file
    37 #    @echo Adding new Warpin script to WPI file
    38 #    bld_fm2_wpi /SCRIPT
     7BASE = fm3
    398
    409all: wpi
    4110
    42 wpi: ckfiles fm2.wpi
     11wpi: checkfiles fm2.wpi
    4312
    44 ckfiles:
     13checkfiles:
    4514   @echo Checking to see if files have been changed...
    46     -ckfiles || del fm2.wpi
     15    ckfiles
    4716
    48 fm2.wpi:: bld_fm2_wpidirs.txt bld_fm2_wpidirs.cmd bld_fm2_wpi.cmd
    49 # stage the files to be included in the WPI file
     17fm2.wpi:: bld_fm2_wpidirs.in
    5018   @echo Staging files for WPI file...
    5119   bld_fm2_wpidirs
    52 # perform a complete build of the WPI file
    53    @echo Creating new WPI file...
     20   @echo Creating/updating the WPI file
    5421   bld_fm2_wpi
    5522
    5623fm2.wpi:: fm2.wis
    57 # just add the new script to the WPI file
    58    @echo Adding new Warpin script to WPI file...
     24   @echo Inserting the new Warpin script into the WPI file...
    5925   bld_fm2_wpi /SCRIPT
    6026
    6127distclean:
    6228  -if exist fm2.wpi del fm2.wpi
     29  -if exist bld_fm2_wpidirs.in del bld_fm2_wpidirs.in
     30  clean_wpidirs
    6331
    6432# The end
Note: See TracChangeset for help on using the changeset viewer.