Subversion Repositories svn.mios32

Rev

Rev 604 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
603 wackazong 1
# $Id: Makefile 69 2008-10-06 22:24:22Z tk $
2
 
3
################################################################################
4
# following setup taken from environment variables
5
################################################################################
6
 
7
PROCESSOR =	$(MIOS32_PROCESSOR)
8
FAMILY    = 	$(MIOS32_FAMILY)
9
BOARD	  = 	$(MIOS32_BOARD)
10
LCD       =     $(MIOS32_LCD)
11
 
12
 
13
################################################################################
14
# Source Files, include paths and libraries
15
################################################################################
16
 
17
THUMB_SOURCE    = app.c \
18
									display.c \
19
									sysex.c \
20
									control.c \
21
									externalheaders.c
22
 
23
# (following source stubs not relevant for Cortex M3 derivatives)
24
THUMB_AS_SOURCE =
25
ARM_SOURCE      =
26
ARM_AS_SOURCE   =
27
 
28
C_INCLUDE = 	-I .
29
A_INCLUDE = 	-I .
30
 
31
LIBS =
32
 
33
 
34
################################################################################
35
# Remaining variables
36
################################################################################
37
 
38
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
39
PROJECT   = 	project
40
 
41
DEBUG     =	$(DEBUG_PARAMETERS)
42
OPTIMIZE  =	$(OPTIMIZATION_PARAMETERS)
43
 
44
CFLAGS =	$(DEBUG) $(OPTIMIZE) -DDEBUG_VERBOSE_LEVEL=$(DEBUG_VERBOSE_LEVEL)
45
 
46
################################################################################
47
# Include source modules via additional makefiles
48
################################################################################
49
 
50
# sources of programming model
51
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
52
 
53
# application specific LCD driver (selected via makefile variable)
54
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
55
 
56
# common make rules
1820 tk 57
# Please keep this include statement at the end of this Makefile. Add new modules above.
603 wackazong 58
include $(MIOS32_PATH)/include/makefile/common.mk