[Top][All Lists]

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

temporary files

From: Andreas Hagele
Subject: temporary files
Date: Fri, 17 May 2002 16:52:46 +1200

Hello 'Makers',
I'm using make 3.79 and I would like to create a linker response file from make in a more efficient way then with the does echo command.
currently i have something like
link.cmd: $(MF)
 echo -pnvram=bss,heap >> $@
 echo -o$(TARGET).obj >> $@
 echo -N >> $@
 echo -B165C00E6 >> $@
 echo rt51--ns.obj >> $@
 echo main.obj \>> $@
 echo turnover.obj \>> $@
 echo disp_lcd.obj \>> $@
 echo lcd.obj \>> $@
 echo meter.obj \>> $@
which works fine but the echo command are sooooo slow. I tried the @ to supress the output but that doesn't help.
The Borland make has some command like
prog.exe: A.obj B.obj
    TLINK32 /c @&&|     # &&| opens temp file, @ for TLINK32
    c0s.obj $**
    maths.lib cs.lib
|                       # | closes temp file, must be on first column
with the &&| to create a temp file. That's much faster
Is there something like this in GNU make?
Thanks a lot

reply via email to

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