Check target compiler for -iquote instead of host compiler.
[cake.git] / tools / toollib / mmakefile.src
blobb60716409aa2ff976b93a4bfd011c48b50b2c576
1 include $(TOP)/config/make.cfg
3 HFILES := \
4         callback.h \
5         error.h \
6         filesup.h \
7         hash.h \
8         lineparser.h \
9         mystream.h \
10         stdiocb.h \
11         stringcb.h \
12         toollib.h \
13         vstring.h
15 TOOLLIBINCS := $(foreach f,$(HFILES),$(AROS_INCLUDES)/toollib/$(f))
17 FILES := \
18         error \
19         filesup \
20         hash \
21         lineparser \
22         mystream \
23         stdiocb \
24         stringcb \
25         toollib \
26         vstring
28 #MM- linklibs : linklibs-toollib
29 #MM linklibs-toollib : includes
31 %build_linklib mmake=linklibs-toollib libname=toollib files=$(FILES)
33 #MM
34 includes-copy : $(AROS_INCLUDES)/toollib $(TOOLLIBINCS)
36 $(AROS_INCLUDES)/toollib : 
37         @$(MKDIR) $@
39 $(AROS_INCLUDES)/toollib/%.h : %.h
40         $(CP) $< $(AROS_INCLUDES)/toollib
42 %common