Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
61 tk 1
# $Id: Makefile 2635 2019-01-06 17:14:01Z tk $
2
 
69 tk 3
################################################################################
4
# following setup taken from environment variables
5
################################################################################
61 tk 6
 
69 tk 7
PROCESSOR =	$(MIOS32_PROCESSOR)
8
FAMILY    = 	$(MIOS32_FAMILY)
9
BOARD	  = 	$(MIOS32_BOARD)
10
LCD       =     $(MIOS32_LCD)
61 tk 11
 
12
 
69 tk 13
################################################################################
14
# Source Files, include paths and libraries
15
################################################################################
61 tk 16
 
1066 tk 17
THUMB_SOURCE    = core/app.c \
18
		mios32/tasks.c \
19
		core/seq_hwcfg.c  \
20
		core/seq_ui.c  \
2039 tk 21
		core/seq_ui_pages.c  \
1066 tk 22
		core/seq_ui_todo.c \
23
		core/seq_ui_menu.c \
1203 tk 24
		core/seq_ui_bookmarks.c \
1066 tk 25
		core/seq_ui_edit.c \
26
		core/seq_ui_mute.c \
27
		core/seq_ui_pmute.c \
28
		core/seq_ui_pattern.c \
1454 midilab 29
                core/seq_ui_pattern_remix.c \
1066 tk 30
		core/seq_ui_song.c \
31
		core/seq_ui_trkevnt.c \
2092 tk 32
		core/seq_ui_trkinst.c \
1066 tk 33
		core/seq_ui_trkmode.c \
34
		core/seq_ui_trkdir.c \
35
		core/seq_ui_trkdiv.c \
36
		core/seq_ui_trklen.c \
37
		core/seq_ui_trktran.c \
38
		core/seq_ui_trkgrv.c \
39
		core/seq_ui_trkmorph.c \
40
		core/seq_ui_trkrnd.c \
1483 tk 41
		core/seq_ui_trkeuclid.c \
2164 tk 42
		core/seq_ui_trkjam.c \
1066 tk 43
		core/seq_ui_trgasg.c \
44
		core/seq_ui_fx.c \
45
		core/seq_ui_fx_echo.c \
46
		core/seq_ui_fx_humanize.c \
2118 tk 47
		core/seq_ui_fx_robotize.c \
1066 tk 48
		core/seq_ui_fx_limit.c \
49
		core/seq_ui_fx_lfo.c \
1859 tk 50
		core/seq_ui_fx_dupl.c \
1066 tk 51
		core/seq_ui_fx_scale.c \
52
		core/seq_ui_manual.c \
53
		core/seq_ui_util.c \
54
		core/seq_ui_bpm.c \
55
		core/seq_ui_bpm_presets.c \
56
		core/seq_ui_opt.c \
57
		core/seq_ui_save.c \
58
		core/seq_ui_midi.c \
59
		core/seq_ui_sysex.c \
60
		core/seq_ui_disk.c \
61
		core/seq_ui_eth.c \
62
		core/seq_ui_midimon.c \
63
		core/seq_ui_mixer.c \
1083 tk 64
		core/seq_ui_cv.c \
1066 tk 65
		core/seq_ui_info.c \
66
		core/seq_ui_stepsel.c \
67
		core/seq_ui_trgsel.c \
68
		core/seq_ui_parsel.c \
2532 tk 69
		core/seq_ui_inssel.c \
1066 tk 70
		core/seq_ui_tracksel.c \
1219 tk 71
		core/seq_ui_trklive.c \
1083 tk 72
		core/seq_cv.c \
1066 tk 73
		core/seq_midi_port.c \
74
		core/seq_midi_in.c \
75
		core/seq_midi_sysex.c \
76
		core/seq_midi_router.c \
77
		core/seq_midply.c \
78
		core/seq_midexp.c \
79
		core/seq_midimp.c \
80
		core/seq_blm.c \
81
		core/seq_cc.c  \
82
		core/seq_cc_labels.c  \
83
		core/seq_core.c \
84
		core/seq_scale.c \
85
		core/seq_groove.c \
86
		core/seq_morph.c \
87
		core/seq_humanize.c \
2118 tk 88
		core/seq_robotize.c \
1066 tk 89
		core/seq_lfo.c \
90
		core/seq_chord.c \
91
		core/seq_pattern.c \
92
		core/seq_record.c \
1219 tk 93
		core/seq_live.c \
1066 tk 94
		core/seq_file.c \
95
		core/seq_file_b.c \
96
		core/seq_file_m.c \
97
		core/seq_file_s.c \
98
		core/seq_file_g.c \
99
		core/seq_file_c.c \
100
		core/seq_file_gc.c \
101
		core/seq_file_t.c \
1203 tk 102
		core/seq_file_bm.c \
2635 tk 103
		core/seq_file_presets.c \
1066 tk 104
		core/seq_file_hw.c \
105
		core/seq_layer.c \
106
		core/seq_random.c \
107
		core/seq_trg.c \
108
		core/seq_par.c \
109
		core/seq_mixer.c \
110
		core/seq_song.c \
111
		core/seq_label.c \
112
		core/seq_lcd.c \
113
		core/seq_lcd_logo.c \
114
		core/seq_ui_fx_loop.c \
115
		core/seq_terminal.c \
116
		core/seq_statistics.c \
1345 tk 117
		core/seq_led.c \
2531 tk 118
		core/seq_blm8x8.c \
1345 tk 119
		core/seq_tpd.c
69 tk 120
 
121
# (following source stubs not relevant for Cortex M3 derivatives)
122
THUMB_AS_SOURCE =
123
ARM_SOURCE      =
124
ARM_AS_SOURCE   =
125
 
1066 tk 126
C_INCLUDE = 	-I mios32 \
127
		-I core
61 tk 128
 
69 tk 129
A_INCLUDE = 	-I .
61 tk 130
 
131
LIBS =
132
 
133
 
69 tk 134
################################################################################
135
# Remaining variables
136
################################################################################
61 tk 137
 
69 tk 138
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
139
PROJECT   = 	project
61 tk 140
 
1118 tk 141
DEBUG     =	-g
69 tk 142
OPTIMIZE  =	-Os
61 tk 143
 
761 tk 144
CFLAGS =	$(DEBUG) $(OPTIMIZE)
61 tk 145
 
146
 
69 tk 147
################################################################################
148
# Include source modules via additional makefiles
149
################################################################################
61 tk 150
 
69 tk 151
# sources of programming model
61 tk 152
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
153
 
69 tk 154
# application specific LCD driver (selected via makefile variable)
155
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
61 tk 156
 
524 tk 157
# BLM
158
include $(MIOS32_PATH)/modules/blm/blm.mk
159
 
2263 tk 160
# BLM_SCALAR_MASTER
161
include $(MIOS32_PATH)/modules/blm_scalar_master/blm_scalar_master.mk
162
 
507 tk 163
# AOUT Driver
164
include $(MIOS32_PATH)/modules/aout/aout.mk
165
 
190 tk 166
# generic sequencer modules
167
include $(MIOS32_PATH)/modules/sequencer/sequencer.mk
168
 
683 tk 169
# Notestack functions
170
include $(MIOS32_PATH)/modules/notestack/notestack.mk
171
 
186 tk 172
# MIDI file Player
173
include $(MIOS32_PATH)/modules/midifile/midifile.mk
174
 
956 tk 175
# FATFS Driver
176
include $(MIOS32_PATH)/modules/fatfs/fatfs.mk
248 tk 177
 
1261 tk 178
# FILE Access Layer
179
include $(MIOS32_PATH)/modules/file/file.mk
180
 
315 philetaylo 181
# Portable randomize module
182
include $(MIOS32_PATH)/modules/random/random.mk
183
 
736 tk 184
# For performance measurings
185
include $(MIOS32_PATH)/modules/freertos_utils/freertos_utils.mk
186
 
1049 tk 187
# UIP driver
188
include $(MIOS32_PATH)/modules/uip/uip.mk
189
 
1311 tk 190
# UIP Standard Task (with OSC Client/Server)
191
include $(MIOS32_PATH)/modules/uip_task_standard/uip_task_standard.mk
192
 
69 tk 193
# common make rules
1820 tk 194
# Please keep this include statement at the end of this Makefile. Add new modules above.
61 tk 195
include $(MIOS32_PATH)/include/makefile/common.mk