I have a little problem understanding the following gmake syntax:
OBJ = foo.o bar.o $(OBJ): %.o: %.cpp $(CC) -c -MMD -MP $(INCLUDES) $(CFLAGS) $< -o $@ @sed (...create empty targets in file...)
I'm not sure if $ (...):%. O:%. Cpp does !?
I think it can translate "% .o:%. Cpp" into the correct% .cpp dependencies - right? Google doesn't help much here - it only finds the regular double colon (target: :), something else!
Any tips? Thanks!
source share