Subversion Repositories svn.mios32

Rev

Rev 1345 | Rev 2030 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1313 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
 
1316 tk 17
# path to complete MBSEQ V4 application
18
MIDIBOX_SEQ_V4_PATH = ../midibox_seq_v4
19
# midibox_seq_v4_lite only contains different files where a selection
20
# via "#ifdef MBSEQV4L" doesn't make sense
21
 
1318 tk 22
THUMB_SOURCE    = $(MIDIBOX_SEQ_V4_PATH)/core/app.c \
1316 tk 23
		$(MIDIBOX_SEQ_V4_PATH)/mios32/tasks.c \
1313 tk 24
		core/seq_hwcfg.c  \
25
		core/seq_ui.c  \
26
		core/seq_ui_pages.c \
27
		core/seq_ui_util.c \
1336 tk 28
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_led.c \
1345 tk 29
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_tpd.c \
1316 tk 30
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_cv.c \
31
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_midi_port.c \
32
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_midi_in.c \
33
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_midi_sysex.c \
34
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_midi_router.c \
1319 tk 35
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_midply.c \
36
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_midexp.c \
37
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_midimp.c \
38
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_blm.c \
1316 tk 39
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_cc.c  \
40
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_core.c \
41
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_scale.c \
42
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_groove.c \
43
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_morph.c \
44
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_humanize.c \
45
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_lfo.c \
46
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_chord.c \
47
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_pattern.c \
48
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_record.c \
49
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_live.c \
50
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file.c \
51
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_b.c \
1319 tk 52
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_m.c \
53
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_s.c \
1316 tk 54
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_t.c \
55
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_g.c \
56
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_c.c \
57
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_gc.c \
1319 tk 58
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_file_bm.c \
1313 tk 59
		core/seq_file_hw.c \
1316 tk 60
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_layer.c \
61
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_random.c \
62
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_trg.c \
63
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_par.c \
1319 tk 64
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_mixer.c \
65
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_song.c \
1316 tk 66
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_terminal.c \
67
		$(MIDIBOX_SEQ_V4_PATH)/core/seq_statistics.c
1313 tk 68
 
69
# (following source stubs not relevant for Cortex M3 derivatives)
70
THUMB_AS_SOURCE =
71
ARM_SOURCE      =
72
ARM_AS_SOURCE   =
73
 
74
C_INCLUDE = 	-I mios32 \
1316 tk 75
		-I core \
76
		-I $(MIDIBOX_SEQ_V4_PATH)/core
1313 tk 77
 
78
A_INCLUDE = 	-I .
79
 
80
LIBS =
81
 
82
 
83
################################################################################
84
# Remaining variables
85
################################################################################
86
 
87
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
88
PROJECT   = 	project
89
 
90
DEBUG     =	-g
91
OPTIMIZE  =	-Os
92
 
1316 tk 93
###
94
# --> HERE WE SELECT THE MBSEQV4L VARIANT
95
###
96
CFLAGS =	$(DEBUG) $(OPTIMIZE) -DMBSEQV4L
1313 tk 97
 
98
 
99
################################################################################
100
# Include source modules via additional makefiles
101
################################################################################
102
 
103
# sources of programming model
104
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
105
 
106
# application specific LCD driver (selected via makefile variable)
107
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
108
 
109
# AOUT Driver
110
include $(MIOS32_PATH)/modules/aout/aout.mk
111
 
112
# generic sequencer modules
113
include $(MIOS32_PATH)/modules/sequencer/sequencer.mk
114
 
115
# Notestack functions
116
include $(MIOS32_PATH)/modules/notestack/notestack.mk
117
 
118
# BLM_CHEAPO driver
119
include $(MIOS32_PATH)/modules/blm_cheapo/blm_cheapo.mk
120
 
1318 tk 121
# BLM_X
122
include $(MIOS32_PATH)/modules/blm_x/blm_x.mk
123
 
1319 tk 124
# MIDI file Player
125
include $(MIOS32_PATH)/modules/midifile/midifile.mk
126
 
1313 tk 127
# FATFS Driver
128
include $(MIOS32_PATH)/modules/fatfs/fatfs.mk
129
 
130
# FILE Access Layer
131
include $(MIOS32_PATH)/modules/file/file.mk
132
 
133
# Portable randomize module
134
include $(MIOS32_PATH)/modules/random/random.mk
135
 
136
# USB Mass Storage Device Driver
137
include $(MIOS32_PATH)/modules/msd/msd.mk
138
 
139
# For performance measurings
140
include $(MIOS32_PATH)/modules/freertos_utils/freertos_utils.mk
141
 
142
# UIP driver
143
include $(MIOS32_PATH)/modules/uip/uip.mk
144
 
145
# UIP Standard Task (with OSC Client/Server)
146
include $(MIOS32_PATH)/modules/uip_task_standard/uip_task_standard.mk
147
 
148
# common make rules
1820 tk 149
# Please keep this include statement at the end of this Makefile. Add new modules above.
1313 tk 150
include $(MIOS32_PATH)/include/makefile/common.mk