Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
251 stryd_one 1
# $Id: Makefile 1820 2013-09-01 15:44:33Z tk $
210 stryd_one 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
 
451 stryd_one 17
THUMB_SOURCE =  ../../core/src/tasks.c \
18
				../../core/src/app.c \
19
				../../core/src/utils.c \
20
				../../core/src/ui.c \
21
				../../core/src/graph.c \
22
				../../core/src/mclock.c \
23
				../../core/src/patterns.c \
24
				../../core/src/mod_send.c \
25
				../../core/src/mod_xlate.c \
26
				../../core/src/modules.c \
251 stryd_one 27
\
451 stryd_one 28
				../../vxmodules/src/mod_sclk.c \
29
				../../vxmodules/src/mod_sxh.c \
30
				../../vxmodules/src/mod_seq.c \
31
				../../vxmodules/src/mod_midiout.c
210 stryd_one 32
 
33
# (following source stubs not relevant for Cortex M3 derivatives)
34
THUMB_AS_SOURCE =
35
ARM_SOURCE      =
36
ARM_AS_SOURCE   =
37
 
451 stryd_one 38
C_INCLUDE = 	-I . -I ../../core/inc/ -I ../../vxmodules/inc/
1820 tk 39
 
210 stryd_one 40
A_INCLUDE = 	-I .
41
 
42
LIBS =
43
 
44
 
45
################################################################################
46
# Remaining variables
47
################################################################################
48
 
49
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
50
PROJECT   = 	vX32
51
 
404 stryd_one 52
OPTIMIZE  =	-Os
210 stryd_one 53
DEBUG     =	-g
54
 
55
CFLAGS =	$(DEBUG) $(OPTIMIZE)
404 stryd_one 56
# CFLAGS =	 $(OPTIMIZE)
210 stryd_one 57
 
58
 
59
################################################################################
60
# Include source modules via additional makefiles
61
################################################################################
62
 
63
# sources of programming model
64
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
65
 
66
# application specific LCD driver (selected via makefile variable)
67
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
68
 
69
# generic sequencer modules
70
include $(MIOS32_PATH)/modules/sequencer/sequencer.mk
71
 
72
# common make rules
1820 tk 73
# Please keep this include statement at the end of this Makefile. Add new modules above.
210 stryd_one 74
include $(MIOS32_PATH)/include/makefile/common.mk