summaryrefslogtreecommitdiff
path: root/analog/motor-power-avr/src/Makefile
diff options
context:
space:
mode:
authorPierre Prot2008-02-07 00:08:33 +0100
committerPierre Prot2008-02-07 00:08:33 +0100
commit2dbdc0c21a686d55247d893988081eaac8044112 (patch)
tree4a9370a8a2882765e138655b9d9d2ca4452a9cdb /analog/motor-power-avr/src/Makefile
parent9344f6ab5e9f7e80f26791a2bb534c6c8c1a9143 (diff)
Pas mal de modifs en général
- ADC - cleanup - cleanup - cleanup - ça compile pas encore
Diffstat (limited to 'analog/motor-power-avr/src/Makefile')
-rw-r--r--analog/motor-power-avr/src/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/analog/motor-power-avr/src/Makefile b/analog/motor-power-avr/src/Makefile
new file mode 100644
index 00000000..f11fc6e9
--- /dev/null
+++ b/analog/motor-power-avr/src/Makefile
@@ -0,0 +1,16 @@
+BASE = ../../../digital/avr
+PROGS = mp
+HOST_PROGS = test_mp
+mp_SOURCES = main.c mp_pwm_L_.c mp_pwm_LR_.c adc.c
+test_mp_SOURCES = test_mp.c
+MODULES = proto uart utils math/fixed
+test_mp_MODULES =
+CONFIGFILE = avrconfig.h
+# atmega8, atmega8535, atmega128...
+AVR_MCU = atmega16
+# -O2 : speed
+# -Os : size
+OPTIMIZE = -O2
+HOST_LIBS = -lm
+
+include $(BASE)/make/Makefile.gen