Removed ML401 support
[mw/milkymist.git] / software / libbase / Makefile
1 MMDIR=../..
2 include $(MMDIR)/software/include.mak
3
4 OBJECTS_ALL=divsi3.o libc.o crc16.o crc32.o console.o fatfs.o system.o board.o irq.o
5 OBJECTS=$(OBJECTS_ALL) softfloat.o softfloat-glue.o vsnprintf.o atof.o malloc.o uart-async.o
6 OBJECTS_LIGHT=$(OBJECTS_ALL) vsnprintf-nofloat.o uart.o
7
8 all: libbase-light.a libbase.a
9
10 libbase-light.a: $(OBJECTS_LIGHT)
11         $(AR) clr libbase-light.a $(OBJECTS_LIGHT)
12         $(RANLIB) libbase-light.a
13
14 libbase.a: $(OBJECTS)
15         $(AR) clr libbase.a $(OBJECTS)
16         $(RANLIB) libbase.a
17
18 .PHONY: clean depend
19
20 depend:
21         makedepend -Y -- $(CFLAGS) -- *.c
22
23 clean:
24         rm -f *.o libbase.a libbase-light.a .*~ *~ Makefile.bak
25
26 # DO NOT DELETE
27
28 atof.o: ../../software/include/base/stdlib.h
29 atof.o: ../../software/include/base/ctype.h
30 board.o: ../../software/include/hw/sysctl.h
31 board.o: ../../software/include/hw/common.h
32 board.o: ../../software/include/base/stdlib.h
33 board.o: ../../software/include/base/board.h
34 console.o: ../../software/include/base/uart.h
35 console.o: ../../software/include/base/console.h
36 console.o: ../../software/include/base/stdio.h
37 console.o: ../../software/include/base/stdlib.h
38 console.o: ../../software/include/base/stdarg.h
39 crc16.o: ../../software/include/base/crc.h
40 crc32.o: ../../software/include/base/crc.h
41 fatfs.o: ../../software/include/base/stdlib.h
42 fatfs.o: ../../software/include/base/stdio.h
43 fatfs.o: ../../software/include/base/string.h
44 fatfs.o: ../../software/include/base/ctype.h
45 fatfs.o: ../../software/include/base/endian.h
46 fatfs.o: ../../software/include/base/console.h
47 fatfs.o: ../../software/include/base/fatfs.h
48 libc.o: ../../software/include/base/ctype.h
49 libc.o: ../../software/include/base/stdio.h
50 libc.o: ../../software/include/base/stdlib.h
51 libc.o: ../../software/include/base/stdarg.h
52 libc.o: ../../software/include/base/string.h
53 libc.o: ../../software/include/base/limits.h
54 malloc.o: ../../software/include/base/stdio.h
55 malloc.o: ../../software/include/base/stdlib.h
56 malloc.o: ../../software/include/base/string.h
57 malloc.o: ../../software/include/base/console.h
58 malloc.o: ../../software/include/base/malloc.h
59 softfloat.o: milieu.h softfloat.h softfloat-macros.h softfloat-specialize.h
60 softfloat-glue.o: softfloat.h
61 system.o: ../../software/include/base/irq.h
62 system.o: ../../software/include/base/uart.h
63 system.o: ../../software/include/hw/fmlbrg.h
64 system.o: ../../software/include/hw/sysctl.h
65 system.o: ../../software/include/hw/common.h
66 system.o: ../../software/include/base/system.h
67 uart-async.o: ../../software/include/base/uart.h
68 uart-async.o: ../../software/include/base/irq.h
69 uart-async.o: ../../software/include/hw/uart.h
70 uart-async.o: ../../software/include/hw/common.h
71 uart-async.o: ../../software/include/hw/interrupts.h
72 uart.o: ../../software/include/base/uart.h ../../software/include/base/irq.h
73 uart.o: ../../software/include/hw/uart.h ../../software/include/hw/common.h
74 uart.o: ../../software/include/hw/interrupts.h
75 vsnprintf.o: ../../software/include/base/stdlib.h
76 vsnprintf.o: ../../software/include/base/stdio.h
77 vsnprintf.o: ../../software/include/base/stdarg.h
78 vsnprintf.o: ../../software/include/base/string.h
79 vsnprintf.o: ../../software/include/base/ctype.h
80 vsnprintf-nofloat.o: ../../software/include/base/stdlib.h
81 vsnprintf-nofloat.o: ../../software/include/base/stdio.h
82 vsnprintf-nofloat.o: ../../software/include/base/stdarg.h
83 vsnprintf-nofloat.o: ../../software/include/base/string.h
84 vsnprintf-nofloat.o: ../../software/include/base/ctype.h