2 include $(TOP)/config/make.cfg
4 MY_INCLS := $(wildcard include/*.h)
5 DEST_INC := $(foreach f,$(MY_INCLS), $(AROS_INCLUDES)/hidd/$(notdir $f))
6 GEN_INC := $(foreach f,$(MY_INCLS), $(GENINCDIR)/hidd/$(notdir $f))
9 includes-copy : $(DEST_INC) $(GEN_INC)
12 $(AROS_INCLUDES)/hidd/%.h : include/%.h
13 @$(CP) include/$(notdir $<) $@
15 $(GENINCDIR)/hidd/%.h : include/%.h
16 @$(CP) include/$(notdir $<) $@
20 %mkdirs_q $(GENINCDIR) $(AROS_INCLUDES) $(GENINCDIR)/hidd $(AROS_INCLUDES)/hidd
26 -$(RM) $(OBJDIR) *.err $(LIB) *.s