I am switching from OPUSMAKE to GNUMAKE on a PC platform.  I would like 
assistance/advice on the following:

FILES=  file1 file2 file3 file4 .... File99
Clean:  erase $(FILES)


This causes problems on a PC because of the length of the erase command exceeds the 
limits.  In OPUSMAKE there was a function called FOREACH that could be used as follows:


!foreach X in $(FILES)
        erase $(X)

This resulted in 99 separate calls to erase.  The FOREACH in GNUMAKE does not appear 
to have the same functionality.  What is the best way to handle $(FILES) on a DOS 
command line?


Thanks in advance,
Ron




Ron Gaskins
Delphi-Delco Electronics
Powertrain Software/Systems

Location: Kokomo, Plant 6 - Mezz1
Mail Station: 6044
Phone: 765-451-9478
Internet E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to