From 2dbdc0c21a686d55247d893988081eaac8044112 Mon Sep 17 00:00:00 2001 From: Pierre Prot Date: Thu, 7 Feb 2008 00:08:33 +0100 Subject: Pas mal de modifs en général - ADC - cleanup - cleanup - cleanup - ça compile pas encore --- analog/motor-power-avr/src/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 analog/motor-power-avr/src/Makefile (limited to 'analog/motor-power-avr/src/Makefile') 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 -- cgit v1.2.3