1incdep = include $(DEPDIR)/$(1) 2$(foreach module,$(MODULES), $(shell $(MKDIR_P) $(shell dirname $(DEPDIR)/$(module)))) 3$(foreach module,$(MODULES), $(shell touch $(DEPDIR)/$(module:%.erl=%.Pbeam))) 4$(foreach module,$(MODULES), $(eval $(call incdep,$(module:%.erl=%.Pbeam)))) 5 6 7# Local Variables: 8# tab-width: 8 9# End: 10