help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Target-specific variables


From: Asperheim, Eric
Subject: Target-specific variables
Date: Tue, 9 Jan 2001 12:47:24 -0800

All,

Does anyone know if "Target-specific variables" are supported in gmake
version 3.74-96q4?

fhi2009:easperhe gmake -v
GNU Make version 3.74-96q4, by Richard Stallman and Roland McGrath.

I'm trying to use target-specific variables and it doesn't seem to be
working. I'm using the exact example from the gmake 3.79.1 documentation
(the latest):

prog : CFLAGS = -g
prog : prog.o foo.o bar.o
        @echo $(CFLAGS)

When I type "gmake prog", I get the following 

fhi2009:easperhe gmake prog
gmake: *** No rule to make target `CFLAGS', needed by `prog'.  Stop.

What am I doing wrong if it's not the version? If it is the version, how can
I get a list of features and it which version the feature was added? 

Thanks,

Eric






reply via email to

[Prev in Thread] Current Thread [Next in Thread]