From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: makefile Date: 22 May 2002 16:32:45 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 21 Message-ID: References: NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Rafal 'Raf256' Maj (admin AT raf256 DOT com) wrote: : I build library from my project using .bat : call _comp1 u_mem "Basic memory" : call _comp1 u_str "Basic strings" : ar crs upi.a u_mem.o u_str.o : where comp1.bat is : : gcc -g -s -c %1.cpp -o %1.o : And I have two questions : 1) what should I do when there will bo to much objects, so last command : line (ar crs upi.a u_mem.o 2.o 3.o etc...) will be longer then 255 : characters ? Use a makefile. DJGPP's make doesn't have this problem. Right, MartinS