mlib update: header and mmakefile updates
[tangerine.git] / workbench / hidds / mouse / mmakefile.src
blob37e428d382ab341057504a19190fe29071751aa8
1 #$Id$
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))
8 #MM
9 includes-copy : $(DEST_INC) $(GEN_INC)
10         @$(NOP)
12 $(AROS_INCLUDES)/hidd/%.h : include/%.h
13         @$(CP) include/$(notdir $<) $@
15 $(GENINCDIR)/hidd/%.h : include/%.h
16         @$(CP) include/$(notdir $<) $@
18 #MM
19 setup-includes :
20         %mkdirs_q $(GENINCDIR) $(AROS_INCLUDES) $(GENINCDIR)/hidd $(AROS_INCLUDES)/hidd
24 #MM
25 clean ::
26         -$(RM) $(OBJDIR) *.err $(LIB) *.s
29 %common