Re: ucanoscan makefile

2002-03-18 Thread Paul D. Smith
%% maxx <[EMAIL PROTECTED]> writes: m> GNU Make version 3.79, by Richard Stallman and Roland McGrath. m> Built for powerpc-apple-darwin1.4 First, you probably want to upgrade to the latest version, which is 3.79.1. m> gcc -c -o ucanoscan.o -g -Wall -DDEBUG_DATASAVE -DUGEN_DRIVER -I/usr/l

Re: variables as dependencies expanded immediately

2002-03-18 Thread Paul D. Smith
%% "Derek M. Flynn" <[EMAIL PROTECTED]> writes: dmf> I'm using GNU make 3.79.1. The following makefile illustrates the dmf> problem I am observing: dmf> FOO_LIB = -lm dmf> all : foo bar dmf> foo : foo.o $(FOO_LIB) dmf> bar : bar.o $(BAR_LIB) dmf> BAR_LIB = -lm dmf> whereas fo

ucanoscan makefile

2002-03-18 Thread maxx
GNU Make version 3.79, by Richard Stallman and Roland McGrath. Built for powerpc-apple-darwin1.4 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for M

variables as dependencies expanded immediately

2002-03-18 Thread Derek M. Flynn
Hello, I'm using GNU make 3.79.1. The following makefile illustrates the problem I am observing: FOO_LIB = -lm all : foo bar foo : foo.o $(FOO_LIB) bar : bar.o $(BAR_LIB) BAR_LIB = -lm whereas foo builds as expected, when GNU make tries to link bar.o to make bar, the expansion of $(BAR_LIB