Refactor to not have toolchain in path; Now a specific flash project_HOSTED is needed...
[bertos.git] / examples / randpool / randpool_demo.mk
1 #
2 # $Id$
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
4 # All rights reserved.
5 #
6 # Makefile fragment for DevLib randpool_demo application.
7 #
8 # Author: Daniele Basile <asterix@develer.com>
9 #
10 # $Log$
11 # Revision 1.1  2007/02/15 18:17:51  asterix
12 # Add randpool test program.
13 #
14 #
15
16
17 # Set to 1 for debug builds
18 randpool_demo_DEBUG = 0
19
20 randpool_demo_HOSTED = 1
21
22 # Our target application
23 TRG += randpool_demo
24
25 randpool_demo_CSRC = \
26         examples/randpool/randpool_demo.c \
27         algos/randpool.c \
28         algos/md2.c \
29         drv/timer.c \
30         os/hptime.c
31
32 randpool_demo_CFLAGS = -O0 -D'ARCH=0' -Iexamples/randpool/ -Iexamples/randpool/hw
33
34 # Debug stuff
35 ifeq ($(randpool_demo_DEBUG),1)
36         randpool_demo_CFLAGS += -D_DEBUG
37         randpool_demo_PCSRC += drv/kdebug.c
38 endif
39