microb 2010
[aversive.git] / projects / microb2010 / tests / test_board2008 / Makefile
1 TARGET = main
2
3 # repertoire des modules
4 AVERSIVE_DIR = ../../../..
5
6 SRC  = $(TARGET).c cmdline.c commands_gen.c 
7 SRC += commands_cs.c commands_mainboard.c commands_traj.c commands.c
8 SRC += sensor.c actuator.c cs.c strat_base.c strat_utils.c
9
10 ASRC = 
11
12 CFLAGS += -Wall -Werror
13 #CFLAGS += -DHOMOLOGATION
14 #CFLAGS += -DTEST_BEACON
15 #LDFLAGS = -T ../common/avr6.x
16
17 ########################################
18
19 -include .aversive_conf
20 include $(AVERSIVE_DIR)/mk/aversive_project.mk
21
22 AVRDUDE_DELAY=50
23
24 program_noerase: $(TARGET).$(FORMAT_EXTENSION) $(TARGET).eep
25         echo $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\
26         $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\
27