thanks. The below is part of a gnu makefile. I can understand most except the backslash in the row “$(MODULES): \”. This line means the four libraries depend on …what?
Thanks a lot. 🙂
MODULES = diskfree.so issue.so processes.so time.so
$(MODULES): \
%.so: %.c server.h
$(CC) $(CFLAGS) -fPIC -shared -o $@ $<
It is the same as if there would be no backslash and new line:
That is, it’s a static pattern rule. Each target listed in
$(MODULES)is made using%.so: %.cpattern rule and also depends onserver.h.