3 # repertoire des modules
4 AVERSIVE_DIR = ../../..
6 SRC = $(TARGET).c cmdline.c commands_ax12.c commands_gen.c
7 SRC += commands_cs.c commands_mainboard.c commands_traj.c commands.c
8 SRC += i2c_protocol.c sensor.c actuator.c cs.c ax12_user.c
9 SRC += strat_utils.c strat_base.c strat_avoid.c strat.c
10 SRC += strat_static_columns.c strat_lintel.c
11 SRC += strat_column_disp.c strat_building.c strat_scan.c
15 CFLAGS += -Wall -Werror
16 #CFLAGS += -DHOMOLOGATION
17 CFLAGS += -DTEST_BEACON
18 LDFLAGS = -T ../common/avr6.x
20 ########################################
22 -include .aversive_conf
23 include $(AVERSIVE_DIR)/mk/aversive_project.mk
27 program_noerase: $(TARGET).$(FORMAT_EXTENSION) $(TARGET).eep
28 echo $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\
29 $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\