In some .mak
files I see lines like:
$(CC) $[@ $(CFLAGS) $(OFLAGS) $(DFLAGS)
I know that the $
sign means the value of the variable... But what is $[@
(where there is no variable)?
Other examples: $[*
, $^@
And $@ $<
in this answer, in the lines:
$(ODIR)/%.o: $(SDIR)/%.cpp
$(CC) -c $(INC) -o $@ $< $(CFLAGS)
Now I know that the last two lines mean to create the .o
files in ODIR
directory and the .c
files in SDIR
directory. But what's the essential meaning of $@ $<
?
I couldn't find anything except these apache-related results as examples, with no explanation.