🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1252

Re: Makefiles -- .c and .h

#1252
From: Mark Sicignano
Date: Fri, 16 Nov 1990 14:32
19 lines
1027 bytes
Our cc program has a -M option that prints dependencies on stdout.
This output is suitable to be included in a makefile.

If I do a 

cc -M chmod.c 

This is the output I get:

chmod.o: chmod.c
chmod.o: /usr/include/stdio.h
chmod.o: /usr/include/sys/types.h
chmod.o: /usr/include/sys/stat.h
chmod.o: /usr/include/sys/dir.h

This should get you going in the right direction perhaps.
-- 
Mark Sicignano                                  ...!uunet!hsi!mark
3M Health Information Systems                   mark@hsi.com
Technical Details
Message-ID: <2600@hsi86.hsi.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!hsi!hsi86!mark
References: <9011151442.AA02010@decpa.pa.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!hsi!hsi86!mark
From: mark@hsi86.hsi.com (Mark Sicignano)
Newsgroups: comp.unix.programmer
Subject: Re: Makefiles -- .c and .h
Message-ID: <2600@hsi86.hsi.com>
Date: 16 Nov 90 14:32:47 GMT
References: <9011151442.AA02010@decpa.pa.dec.com>
Reply-To: mark@hsi.com (Mark Sicignano)
Organization: 3M Health Information Systems, Wallingford, CT.
Lines: 19