Article View: gnu.gcc.help
Article #52634Help on GNU Make....
From: Robert Angelino
Date: Thu, 18 Jun 1992 00:03
Date: Thu, 18 Jun 1992 00:03
23 lines
1285 bytes
1285 bytes
GNU Makefile experts, I want to create a library from files that reside in a sccs source library. I'm having problems (probably because I've spent two days on this already) getting gnu make to do this. I want the library to depend on the files in the source library and only compile the files that have been modified. I've gone through so many iterations I think I've confused myself beyond return. I've included an example: libmc.a : ./c/s.*.c ar <arflags> libmc.a <file>.o ./c/s.%.c : ./%.o $(CC) .... $< %.o : %.c sccs -d./ -pc get $< I know I have errors (in syntax and logic) in the above example, but I just wanted to show what I'm trying to do. thanks -robert
Technical Details
Message-ID:
<1992Jun18.000332.1820@mahendo.jpl.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!mahendo!triton!robertShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f2114446bb81849c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-06-17 11:52:42 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!mahendo!triton!robert From: robert@triton.jpl.nasa.gov (Robert Angelino) Subject: Help on GNU Make.... Message-ID: <1992Jun18.000332.1820@mahendo.jpl.nasa.gov> Sender: news@mahendo.jpl.nasa.gov Reply-To: robert@triton.Jpl.Nasa.Gov Organization: Jet Propulsion Laboratory, Pasadena CA Date: Thu, 18 Jun 1992 00:03:32 GMT Lines: 23