[Top][All Lists]

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

Re: converting makefile from borland

From: Alessandro Vesely
Subject: Re: converting makefile from borland
Date: Tue, 10 Aug 2004 08:40:54 +0200

Totte Karlsson wrote:
> [...]
>     $(LINKER) /u $@ @&&!
>     $(LFLAGS) $? $(COMMA) $(LISTFILE)

The `&&!' syntax introduces a temporary file which is passed
as a command line argument, e.g.

   tlib /u my-target-proj @tmp-file-name

where tmp-file-name will contain anything that you specified
inline until next `!' character on the beginning of a line.

GNU make does not do temporary response files, AFAIK.
Are you sure you need them?

If you use win32, get a w32 version of GNU make and enjoy long command lines 
Try mingw's version. Alternatively, the one I'm using (with case insensitivity
patches) is in <>. Always check the -v option.

Then get rid of temporary files, e.g.

        $(LINKER) /u $@ $(LFLAGS) $? $(COMMA) $(LISTFILE)

You may want $^ rather than $?. Check the following pages

On dos/win16, you probably need to install sh.exe to overcome command line 

reply via email to

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