delorie.com/archives/browse.cgi | search |
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: | <acgh7d$hs9$1@antares.lu.erisoft.se> |
References: | <Xns9216B89F7DDC3adminraf256com AT 213 DOT 180 DOT 128 DOT 20> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |