added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / m68k-native / clib / mmakefile.src
blob058894cc98a43fff33565f3285c9ff2348352d6c
1 # $Id$
2 TOP=../../..
4 include $(TOP)/config/make.cfg
6 SPECIAL_AFLAGS = -I../
7 CLIBDIR=$(GENDIR)/compiler/clib
9 FILES = setjmp longjmp \
10         __divsi3 __udivsi3 \
11         __mulsi3 \
12         __fixunsdfsi __fixunssfsi
14 TESTS =
16 #MM
17 clib-amiga-m68k : $(foreach f,$(FILES),$(CLIBDIR)/$(f).o)
18         @$(NOP)
20 #MM
21 setup-clib-amiga-m68k :
22         %mkdirs_q $(CLIBDIR)
23         %add_objects $(foreach f,$(FILES), compiler/clib/$(f))
25 #MM
26 clean::
27         $(RM) $(TESTS)
29 $(CLIBDIR)/%.o: %.s ../machine.i
30         %assemble_q
32 $(CLIBDIR)/%.o: %.c
33         %compile_q
35 $(OBJDIR)/%.d : %.c
36         %mkdepend_q
38 %common