summaryrefslogtreecommitdiffhomepage
path: root/digital/asserv/src/asserv/Makefile
blob: 9e3c10ac68a887a7299f83a7ce3e075bcd786bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
BASE = ../../../avr
PROGS = asserv
HOST_PROGS = test_motor_model
asserv_SOURCES = main.c timer.avr.c counter_ext.avr.c pwm.avr.c pos.c speed.c \
		 postrack.c traj.c twi_proto.c eeprom.avr.c \
		 simu.host.c motor_model.host.c models.host.c
test_motor_model_SOURCES = test_motor_model.c motor_model.host.c models.host.c
MODULES = proto uart utils math/fixed twi
test_motor_model_MODULES =
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
AVR_MCU = atmega128
# -O2 : speed
# -Os : size
OPTIMIZE = -O2
HOST_LIBS = -lm

include $(BASE)/make/Makefile.gen