File: Makefile

package info (click to toggle)
simavr 1.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,268 kB
  • sloc: ansic: 362,806; makefile: 622; ruby: 70; python: 63
file content (38 lines) | stat: -rw-r--r-- 1,086 bytes parent folder | download | duplicates (2)
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
#
#    Copyright (C) 2017 Milan Kupcevic
#
#    You can redistribute and/or modify this software under the
#    terms of the GNU General Public License version 3, or any later 
#    version as published by the Free Software Foundation.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
#    GPLv3+
#

MCU = atmega1280
F_CPU = 16000000

AVR_DEBUG_FLAG = -gdwarf-2
AVR_CC_FLAG = -std=gnu99

BINS = i2ctest
AVR_BINS = atmega1280_i2ctest.axf

all: $(BINS) $(AVR_BINS)

OBJS_i2ctest = i2ctest.o i2c_eeprom.o
OBJS_atmega1280_i2ctest = atmega1280_i2ctest.avro twimaster.avro

OBJS = $(OBJS_i2ctest) $(OBJS_atmega1280_i2ctest) *.vcd

i2ctest: $(OBJS_i2ctest)
atmega1280_i2ctest.axf: $(OBJS_atmega1280_i2ctest)

include ../makefile.common