ini
[aversive.git] / projects / microb2009 / tests / spi_test / Makefile
1 TARGET = main
2
3 # repertoire des modules
4 AVERSIVE_DIR = ../../../..
5 # VALUE, absolute or relative path : example ../.. #
6
7 CFLAGS += -Werror
8
9 # List C source files here. (C dependencies are automatically generated.)
10 SRC = commands.c $(TARGET).c 
11
12 # List Assembler source files here.
13 # Make them always end in a capital .S.  Files ending in a lowercase .s
14 # will not be considered source files but generated files (assembler
15 # output from the compiler), and will be deleted upon "make clean"!
16 # Even though the DOS/Win* filesystem matches both .s and .S the same,
17 # it will preserve the spelling of the filenames, and gcc itself does
18 # care about how the name is spelled on its command-line.
19 ASRC = 
20
21 ########################################
22
23 -include .aversive_conf
24 include $(AVERSIVE_DIR)/mk/aversive_project.mk
25
26 program_noerase: $(TARGET).$(FORMAT_EXTENSION) $(TARGET).eep
27         echo $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\
28         $(AVRDUDE) -D -V $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) ;\
29