Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
1201 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
#LCD       =     $(MIOS32_LCD)
1311 tk 12
# explicitely select the correct LCD driver
13
# KS0108 is supported by the "universal" driver
14
# please configure the bootloader info range accordingly
15
# with the bootloader update application
16
LCD = universal
1201 tk 17
 
18
################################################################################
19
# Source Files, include paths and libraries
20
################################################################################
21
 
22
THUMB_SOURCE    = app.c
23
 
24
# (following source stubs not relevant for Cortex M3 derivatives)
25
THUMB_AS_SOURCE =
26
ARM_SOURCE      =
27
ARM_AS_SOURCE   =
28
 
29
C_INCLUDE = 	-I .
30
A_INCLUDE = 	-I .
31
 
32
LIBS =
33
 
34
 
35
################################################################################
36
# Remaining variables
37
################################################################################
38
 
39
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
40
PROJECT   = 	project
41
 
42
DEBUG     =	-g
43
OPTIMIZE  =	-Os
44
 
45
CFLAGS =	$(DEBUG) $(OPTIMIZE)
46
 
47
 
48
################################################################################
49
# Include source modules via additional makefiles
50
################################################################################
51
 
52
# sources of programming model
53
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
54
 
55
# application specific LCD driver (selected via makefile variable)
56
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
57
 
58
# common make rules
1820 tk 59
# Please keep this include statement at the end of this Makefile. Add new modules above.
1201 tk 60
include $(MIOS32_PATH)/include/makefile/common.mk