Hello everyone,
Here is a sample make file.
I know the first two lines mean compile *.c defined in SRC to *.o. But what does the 3rd line mean? Convert *.o generated by PROC to *.o? I am confused that why convert *.o to *.o itself?Code:SRC=foo.c PROC=$(SRC:%.c=%.o) TARGET=$(PROC:%.o=$(TARGET_DIR)/%.o)
thanks in advance,
George