revert between 56095 -> 55830 in arch
[AROS.git] / arch / .unmaintained / m68k-linux / utility / mmakefile.src
blobfcc428b771793cf4c17dcfe98dfffad2f90205c4
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 FILES           := sdivmod32 \
6                    smult32 \
7                    smult64 \
8                    udivmod32 \
9                    umult32 \
10                    umult64
11 OBJDIR          := $(OSGENDIR)/utility
12 SPECIAL_CFLAGS  := $(SHARED_CFLAGS) -I..
13 CFLAGS2         := $(SHARED_CFLAGS) $(CFLAGS)
14 AFLAGS2         := $(AFLAGS) -I..
15 TESTS           :=
17 #MM
18 utility-linux-m68k : $(foreach f,$(FILES), $(OBJDIR)/$(f).o)
19         @$(NOP)
21 #MM
22 setup-utility-linux-m68k :
23         %mkdirs_q $(OBJDIR)
24         %add_objects $(foreach f,$(FILES), rom/utility/$(f))
25         %exclude_files $(foreach f,$(FILES), rom/utility/$(f))
27 #MM
28 clean ::
29         -$(RM) $(TESTS)
31 $(OBJDIR)/%.o : %.c
32         %compile_q opt=$(CFLAGS2)
34 $(OBJDIR)/%.o : %.s
35         %assemble_q opt=$(AFLAGS2)
37 $(OBJDIR)/%.d : %.c
38         %mkdepend_q
40 %common