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