Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!munnari!mulga!ausmelb!aob From: aob@ausmelb.oz.au (Andrew Bulka) Newsgroups: comp.sources.bugs Subject: Re: make for pc's Message-ID: <422@ausmelb.oz.au> Date: Wed, 16-Sep-87 04:14:24 EDT Article-I.D.: ausmelb.422 Posted: Wed Sep 16 04:14:24 1987 Date-Received: Fri, 18-Sep-87 06:45:28 EDT References: <6109@ut-ngp.UUCP> Reply-To: aob@ausmelb.UUCP (Andrew Bulka) Organization: Austec International Limited, Melbourne Lines: 35 There seems to be a bug in the version of `make' suppied with curses for the ibm pc. A line like: .c.obj: ; cl -c $*.c is read but ignored, the default rule still remaining as 'cc ...'. To quote he manual: > The rule to create a file with suffix s2 that depends on a similarly named > file with suffix s1 is specified as an entry for the `target' s1s2. In > such an entry, the special macros > > $* stands for the target name with suffix deleted, > $@ for the full target name, > $< for the complete list of prerequisites, > $? for the list of prerequisites that are out of date. > > For example, a rule for making optimized `.obj' files from `.c' files is > > .c.obj: ; cc -c -O -o $@ $*.c > > Certain macros are used by the default inference rules to communicate op- > tional arguments to any resulting compilations. This doesn't seem to work despite every other feature of this wonderful implementation of 'make' working. It is a pity, meaning that one cannot change the *default* inference rules, 'cc' being inappropriate for Microsoft C. -- Andy Bulka, ----=---- ACSnet: aob@ausmelb.oz Austec International Ltd, ---===--- UUCP: ...!munnari!ausmelb.oz!aob 344 St Kilda Rd, --== ==-- ARPA: aob%ausmelb.oz.au Melbourne 3004 AUSTRALIA -=== ===- Phone: +61 3 699 4511 D