Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!rutgers!apple!bbn!bbn.com!fkittred From: fkittred@bbn.com (Fletcher Kittredge) Newsgroups: comp.sys.hp Subject: Re: makefile macros from ext. source? Message-ID: <41162@bbn.COM> Date: 9 Jun 89 14:46:11 GMT References: <210014@speclab.bgp-usgs.gov> Sender: news@bbn.COM Reply-To: fkittred@BBN.COM (Fletcher Kittredge) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 18 In article <210014@speclab.bgp-usgs.gov> bmiddleb@speclab.bgp-usgs.gov (Barry J. Middlebrook) writes: >Here's the problem: We need a clean way of executing make files so >that regardless of the system configuration and type of UNIX the >appropriate options are used. We are currently using an HP 9000 >series 825 and a Sun 3 w/floating point accelerator. Three methods: 1) Do what we do and make the macro definition on the command line: make FFLAGS="+bfpa" ... 2) or use gnumake and include files. Gnumake runs on both systems and is available via anonymous ftp from prep.ai.mit.edu. 3) or use the make -e flag to have the value of environmental variables override the value of variables in the makefile. Fletcher E. Kittredge fkittred@bbn.com