summaryrefslogtreecommitdiffhomepage
path: root/analog/motor-power-avr/src/Makefile
blob: f11fc6e98372164985c82d0d45728b507b83866c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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