Subversion Repositories svn.mios32

Rev

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

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