BASE = ../../../.. PROGS = test_fixed test_fixed_SOURCES = test_fixed.c DOC = EXTRACTDOC = MODULES = uart proto utils math/fixed math/random CONFIGFILE = avrconfig.h # atmega8, atmega8535, atmega128... AVR_MCU = atmega128 # -O2 : speed # -Os : size OPTIMIZE = -O2 DEFS = HOST_LIBS = -lm include $(BASE)/make/Makefile.gen EXTRA_CLEAN_FILES += test_fixed.mul test_fixed.div test_fixed.cos \ test_fixed.sqrt test_fixed.mul: test_fixed.host echo '!m' | ./$< > $@ test_fixed.div: test_fixed.host echo '!d' | ./$< > $@ test_fixed.cos: test_fixed.host echo '!c' | ./$< > $@ test_fixed.sqrt: test_fixed.host echo '!s' | ./$< > $@