make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with GNUMAKE on PC platform - command line lenght limitations


From: Ron.E.Gaskins
Subject: Help with GNUMAKE on PC platform - command line lenght limitations
Date: Tue, 29 Jul 2003 14:05:29 -0500

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: address@hidden <mailto:address@hidden> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]