summaryrefslogtreecommitdiff
path: root/n/avr/modules/math/fixed/test/Makefile
diff options
context:
space:
mode:
authorschodet2005-10-09 16:59:46 +0000
committerschodet2005-10-09 16:59:46 +0000
commit0ffbcd726d6be5c32e841046869dda08b461684c (patch)
treeead37f3b544f455dde397f18b0a44f8dbc012a0e /n/avr/modules/math/fixed/test/Makefile
parent1a751216e7c2f6ecb1d9c2a1f78ab1ff52a6674a (diff)
Ajout des tests.
Ajout de la doc. Correction de la version hôte de div.
Diffstat (limited to 'n/avr/modules/math/fixed/test/Makefile')
-rw-r--r--n/avr/modules/math/fixed/test/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/n/avr/modules/math/fixed/test/Makefile b/n/avr/modules/math/fixed/test/Makefile
index 38517e5..c690212 100644
--- a/n/avr/modules/math/fixed/test/Makefile
+++ b/n/avr/modules/math/fixed/test/Makefile
@@ -12,6 +12,21 @@ AVR_MCU = atmega128
OPTIMIZE = -O2
DEFS =
-LIBS =
+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' | ./$< > $@