This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Make problem



Hi,

I need to run the following makefile (see below). For some reason the LFLAGS
macro is printed the right way on the screen but is passed to the linker the
wron way. Is there a way to pass LFLAGS correctly to the linker (as literal
string) using make and bash?

TIA

Joost



######################### Makefile ################################
CPPFLAGS = -Q -Ti -Ft -Tdp -Fb -Tm -Gm -Gd -qrtti=all
LFLAGS = "-de -br -nologo -pmtype:vio -code:RX -data:RW -def"

all: text.exe

text.exe: main.obj
	icc $(CPPFLAGS) -B$(LFLAGS) -Fetext.exe main.obj

main.obj: main.cpp
	icc -C $(CPPFLAGS) main.cpp

clean:
	-rm text.exe *.obj *.pdb tempinc/*
	rd .\tempinc


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com