Makefiles -- .c and .h
Mark Sicignano
mark at hsi86.hsi.com
Sat Nov 17 01:32:47 AEST 1990
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 at hsi.com
More information about the Comp.unix.programmer
mailing list