2012-02-05 14:01:28 -05:00
|
|
|
M2DIR=../..
|
|
|
|
include $(M2DIR)/software/include.mak
|
2012-02-03 06:08:17 -05:00
|
|
|
|
|
|
|
OBJECTS=divsi3.o libc.o console.o system.o board.o uart.o softfloat.o softfloat-glue.o vsnprintf.o atof.o
|
|
|
|
|
2012-02-05 14:01:28 -05:00
|
|
|
all: libbase.a
|
|
|
|
|
2012-02-03 06:25:55 -05:00
|
|
|
# pull in dependency info for *existing* .o files
|
|
|
|
-include $(OBJECTS:.o=.d)
|
|
|
|
|
2012-02-03 06:08:17 -05:00
|
|
|
libbase.a: $(OBJECTS)
|
|
|
|
$(AR) clr libbase.a $(OBJECTS)
|
|
|
|
$(RANLIB) libbase.a
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
|
|
|
|
clean:
|
2012-02-05 14:01:28 -05:00
|
|
|
rm -f $(OBJECTS) $(OBJECTS:.o=.d) libbase.a .*~ *~
|