Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
1216 tk 1
# $Id: Makefile 1820 2013-09-01 15:44:33Z 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
 
11
#explicitely select PCD8544 display
12
#LCD       =     $(MIOS32_LCD)
13
LCD       =     pcd8544
14
 
15
 
16
################################################################################
17
# Source Files, include paths and libraries
18
################################################################################
19
 
20
THUMB_SOURCE    = app.c
21
 
22
# (following source stubs not relevant for Cortex M3 derivatives)
23
THUMB_AS_SOURCE =
24
ARM_SOURCE      =
25
ARM_AS_SOURCE   =
26
 
27
C_INCLUDE = 	-I .
28
A_INCLUDE = 	-I .
29
 
30
LIBS =
31
 
32
 
33
################################################################################
34
# Remaining variables
35
################################################################################
36
 
37
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
38
PROJECT   = 	project
39
 
40
DEBUG     =	-g
41
OPTIMIZE  =	-Os
42
 
43
CFLAGS =	$(DEBUG) $(OPTIMIZE)
44
 
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.
1216 tk 58
include $(MIOS32_PATH)/include/makefile/common.mk