[Top][All Lists]

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

Question about GNUMAKE on a PC platform

From: Ron.E.Gaskins
Subject: Question about GNUMAKE on a PC platform
Date: Tue, 29 Jul 2003 11:06:27 -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 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]