config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / arch / .unmaintained / m68k-linux / alib / mmakefile.src
blob76b17a00de23ca00b2d09e279ea913fbb0d415e5
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 FILES           := stubs
6 ALIBDIR         := $(GENDIR)/compiler/alib
7 TESTS           :=
9 #MM
10 alib-linux-m68k : $(foreach f,$(FILES), $(ALIBDIR)/$(f).o)
11         @$(NOP)
13 #MM
14 setup-alib-linux-m68k :
15         %mkdirs_q $(ALIBDIR)
16         %add_objects $(foreach f,$(FILES), compiler/alib/$(f))
18 #MM
19 clean ::
20         -$(RM) $(TESTS)
22 $(ALIBDIR)/%.o : %.s
23         %assemble_q cmd=$(TARGET_AS)
25 $(ALIBDIR)/%.d : %.c
26         %mkdepend_q
28 %common