1 include $(TOP)/config/make.cfg
14 INCLUDES := $(foreach d,$(INCSUBDIRS),$(wildcard $(d)/*.*))
15 DEST_INCLUDES := $(foreach f,$(INCLUDES),$(AROS_INCLUDES)/$(f))
17 #MM- includes-morphos : setup-includes-morphos includes-copy-morphos
19 includes-copy-morphos : $(DEST_INCLUDES)
21 $(AROS_INCLUDES)/%.h : %.h
24 $(AROS_INCLUDES)/%.c : %.c
28 setup-includes-morphos :
29 @$(FOR) dir in $(AROS_INCLUDES) \
30 $(foreach f,$(INCSUBDIRS),$(AROS_INCLUDES)/$(f)) \
32 $(foreach f,$(INCSUBDIRS),$(GENINCDIR)/$(f)) \
34 $(IF) $(TEST) ! -d "$$dir" ; then $(MKDIR) "$$dir" ; else true ; fi ;\
39 -$(RM) $(AROS_INCLUDES)