cc design flaw

wsmith at m.cs.uiuc.edu wsmith at m.cs.uiuc.edu
Wed Nov 9 03:37:00 AEST 1988


The cc compiler in Berkeley unixes leaves .o files in the current
directory even when the source file is in different directory.

cc -c File/afile.c

will leave the .o file at ./afile.o

This makes it awkward to build a default .c.o rule for make that will behave
correctly when I have several versions of the same files in different sub-
directories.  Encore's Multimax make solves this problem, but since it is
an extension to make, the make files will not port to other machines.

Very annoying to say the least.

Bill Smith
uiucdcs!wsmith
wsmith at cs.uiuc.edu



More information about the Comp.lang.c mailing list