-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (27 loc) · 859 Bytes
/
Makefile
File metadata and controls
46 lines (27 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# AVR makefile stub
# to clean a folder
# from command line
#$> make clean
# to build the folder
#$> make
# to upload a file
# from command line
# $> make <main_filename>.hex
#
# remember to give yourself the read/write permissions on the
# serial line
# $> sudo addgroup <your username> dialout
# logout/login
# !!!!!!!!!!!!!!!! MODIFY HERE !!!!!!!!!!!!!!!!
# put here the file containing the main() routine
# to be uploaded on the avr
# you can add multiple files, they will be all generated
BINS=main.elf
# put here the additional .o files you want to generate
# one .c file for each .o should be present
OBJS=avr_common/uart.o
# put here the additional header files needed for compilation
HEADERS=avr_common/uart.h
# the file below contains the actual rules
# !!!!!!!!!!!!!!!! MODIFY HERE !!!!!!!!!!!!!!!!
include avr_common/avr.mk