Date: Wed, 16 Mar 94 07:54:11 -0500 From: U-E59264-Osman Buyukisik To: markwr AT d564s1 DOT dot DOT state DOT mn DOT us Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: MAKEing response files. >>>>> "Mark" == Mark Wright writes: Mark> Is there any way to generate a response file in GNU make Mark> when a variable is > 128 characters? For example, if I have Mark> OBJS = file1.c file2.c file3.c file4.c \ ... file99.c I Mark> can't just do an "echo $(OBJS) > cmdline.tmp", since only Mark> the first 128 characters of that command will be processed. Mark> Is there a simple solution to this problem? This is taken care of by the latest (3.70) port of the gnu make. I use it all the time with very large OBJS lists and for the compiler,linker,ar, and other programs that it recognizes, it will handle it ok. No need to change the unix makefiles. I used use the Borland make from my bcc3.0, and split the OBJ lists into one line chunks, and write out response files. But with this 3.70 port, I do not worry about long lines in makefiles. Thanks to the people involved in creating this port. Osman