Article View: comp.unix.programmer
Article #1244Re: make with multiple executables from same source files
From: Gary Weimer
Date: Fri, 16 Nov 1990 17:08
Date: Fri, 16 Nov 1990 17:08
12 lines
991 bytes
991 bytes
In article <4196@awdprime.UUCP> tif@doorstop (Paul Chamberlain) writes: >I have two executables that depend on the same source files but are >compiled with different CFLAGS. Anybody have a good way to make a >makefile understand this? With SunOS's make, you can simply add this line to your Makefile: .KEEP_STATE: This causes make to remember the exact command used to compile each object. Since the flags are changed, make sees this as a different compile which has not yet been done.
Technical Details
Message-ID:
<1990Nov16.170828.7026@ssd.kodak.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!seismo!ukma!wuarchive!udel!rochester!kodak!ispd-newsserver!weimerReferences:
<4196@awdprime.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!seismo!ukma!wuarchive!udel!rochester!kodak!ispd-newsserver!weimer From: weimer@ssd.kodak.com (Gary Weimer) Newsgroups: comp.unix.programmer Subject: Re: make with multiple executables from same source files Message-ID: <1990Nov16.170828.7026@ssd.kodak.com> Date: 16 Nov 90 17:08:28 GMT References: <4196@awdprime.UUCP> Sender: news@ssd.kodak.com Distribution: usa Organization: Eastman Kodak Lines: 12