1 2 3 4 5 6 7 8 9 10 11
CXX_SOURCES := main.cpp all: a.out secondprog include Makefile.rules secondprog: $(MAKE) VPATH=$(VPATH) -f $(SRCDIR)/secondprog.mk clean:: $(MAKE) -f $(SRCDIR)/secondprog.mk clean