include ../include/generated/variables.mak include $(MISOC_DIRECTORY)/software/common.mak OBJECTS=exception.o libc.o errno.o crc16.o crc32.o console.o system.o id.o uart.o time.o qsort.o strtod.o spiflash.o all: crt0-$(CPU).o libbase.a libbase-nofloat.a libbase.a: $(OBJECTS) vsnprintf.o $(AR) crs libbase.a $(OBJECTS) vsnprintf.o libbase-nofloat.a: $(OBJECTS) vsnprintf-nofloat.o $(AR) crs libbase-nofloat.a $(OBJECTS) vsnprintf-nofloat.o vsnprintf-nofloat.o: $(LIBBASE_DIRECTORY)/vsnprintf.c $(call compile,-DNO_FLOAT) %.o: $(LIBBASE_DIRECTORY)/%.c $(compile) %.o: $(LIBBASE_DIRECTORY)/%.S $(assemble) .PHONY: all clean clean: $(RM) $(OBJECTS) crt0-$(CPU).o vsnprintf.o vsnprintf-nofloat.o $(RM) libbase.a libbase-nofloat.a .*~ *~