Add test app for at91sam7s.
[bertos.git] / app / at91sam7s / at91sam7s.mk
1 #
2 # $Id: at91sam7s.mk 18234 2007-10-08 13:39:48Z rasky $
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
4 # All rights reserved.
5 #
6 # Makefile fragment for DevLib at91sam7s application.
7 #
8 # Author: Bernardo Innocenti <bernie@develer.com>
9 #
10 #
11
12
13 # Set to 1 for debug builds
14 at91sam7s_DEBUG = 0
15
16 # Our target application
17 TRG += at91sam7s
18
19 at91sam7s_CSRC = \
20         app/at91sam7s/at91sam7s.c \
21         drv/timer.c \
22         drv/at91/sysirq.c
23
24 at91sam7s_PCSRC += mware/formatwr.c
25
26 at91sam7s_CFLAGS = -O3 -D'ARCH=0' -Iapp/at91sam7s/hw -Iapp/at91sam7s
27 at91sam7s_CPU = arm7tdmi
28
29 # Debug stuff
30 ifeq ($(at91sam7s_DEBUG),1)
31         at91sam7s_CFLAGS += -D_DEBUG
32         at91sam7s_PCSRC += drv/kdebug.c
33 endif
34