rfinch@caldwr.UUCP (Ralph Finch) (05/17/89)
A while ago I had a very elementary question about makefiles, which a number of people were kind enough to respond to. A big thanks to you, and now another makefile question. I want to conditionally use 1 of 2 different libraries, depending upon a macro set in the command line: make type=x -or- make type=y How can the makefile conditionally use a different library, depending upon what the macro 'type' equals? If x or y were targets, it would be so: x := LIBRARY = lib1 y := LIBRARY = lib2 but I am using targets for something else. Thanks, -- Ralph Finch ...ucbvax!ucdavis!caldwr!rfinch