Rename app dir to examples.
[bertos.git] / examples / test / avrtest.mk
1 #
2 # $Id: avrtest.mk,v 1.3 2006/06/12 21:37:02 marco Exp $
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
4 # All rights reserved.
5 #
6 # Makefile fragment for DevLib avrtest application.
7 #
8 # Author: Bernie Innocenti <bernie@codewiz.org>
9 #
10
11
12
13 # Set to 1 for debug builds
14 avrtest_DEBUG = 1
15
16 # Our target application
17 TRG += avrtest
18
19 avrtest_MCU = atmega64
20
21 #include avr c and asm sources
22 include examples/test/avr_src.mk
23
24 avrtest_CSRC = $(avr_CSRC) examples/test/empty_main.c
25
26 avrtest_CPPASRC = $(avr_ASRC)
27
28 avrtest_PCSRC += bertos/mware/formatwr.c
29
30 avrtest_CROSS = avr-
31 avrtest_CPPFLAGS = -D'ARCH=ARCH_NIGHTTEST' -Iexamples/test -Ibertos/cpu/avr 
32 avrtest_CFLAGS = -Os -mcall-prologues -fno-strict-aliasing