I have
andCode:OBJ = $(wildcard *.c)
Seems the effects are the same. What are their differences? I have seen many people adopt := ?!Code:OBJ := $(wildcard *.c)
I have
andCode:OBJ = $(wildcard *.c)
Seems the effects are the same. What are their differences? I have seen many people adopt := ?!Code:OBJ := $(wildcard *.c)
Have you read the manual? (As I recall, := means expand now, and = means expand later, but I might have that backwards.)
Did you look at the example on page 59 of the (gnu pdf) manual? Does that not work for you when you tested it?