Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
61 tk 1
# $Id: Makefile 2531 2017-10-11 22:55:38Z 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_metronome.c \
63
		core/seq_ui_midimon.c \
64
		core/seq_ui_mixer.c \
1083 tk 65
		core/seq_ui_cv.c \
1066 tk 66
		core/seq_ui_info.c \
67
		core/seq_ui_stepsel.c \
68
		core/seq_ui_trgsel.c \
69
		core/seq_ui_parsel.c \
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 \
1066 tk 103
		core/seq_file_hw.c \
104
		core/seq_layer.c \
105
		core/seq_random.c \
106
		core/seq_trg.c \
107
		core/seq_par.c \
108
		core/seq_mixer.c \
109
		core/seq_song.c \
110
		core/seq_label.c \
111
		core/seq_lcd.c \
112
		core/seq_lcd_logo.c \
113
		core/seq_ui_fx_loop.c \
114
		core/seq_terminal.c \
115
		core/seq_statistics.c \
1345 tk 116
		core/seq_led.c \
2531 tk 117
		core/seq_blm8x8.c \
1345 tk 118
		core/seq_tpd.c
69 tk 119
 
120
# (following source stubs not relevant for Cortex M3 derivatives)
121
THUMB_AS_SOURCE =
122
ARM_SOURCE      =
123
ARM_AS_SOURCE   =
124
 
1066 tk 125
C_INCLUDE = 	-I mios32 \
126
		-I core
61 tk 127
 
69 tk 128
A_INCLUDE = 	-I .
61 tk 129
 
130
LIBS =
131
 
132
 
69 tk 133
################################################################################
134
# Remaining variables
135
################################################################################
61 tk 136
 
69 tk 137
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
138
PROJECT   = 	project
61 tk 139
 
1118 tk 140
DEBUG     =	-g
69 tk 141
OPTIMIZE  =	-Os
61 tk 142
 
761 tk 143
CFLAGS =	$(DEBUG) $(OPTIMIZE)
61 tk 144
 
145
 
69 tk 146
################################################################################
147
# Include source modules via additional makefiles
148
################################################################################
61 tk 149
 
69 tk 150
# sources of programming model
61 tk 151
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
152
 
69 tk 153
# application specific LCD driver (selected via makefile variable)
154
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
61 tk 155
 
524 tk 156
# BLM
157
include $(MIOS32_PATH)/modules/blm/blm.mk
158
 
2263 tk 159
# BLM_SCALAR_MASTER
160
include $(MIOS32_PATH)/modules/blm_scalar_master/blm_scalar_master.mk
161
 
507 tk 162
# AOUT Driver
163
include $(MIOS32_PATH)/modules/aout/aout.mk
164
 
2461 tk 165
# WS2812 RGB LED strip driver
166
include $(MIOS32_PATH)/modules/ws2812/ws2812.mk
167
 
190 tk 168
# generic sequencer modules
169
include $(MIOS32_PATH)/modules/sequencer/sequencer.mk
170
 
683 tk 171
# Notestack functions
172
include $(MIOS32_PATH)/modules/notestack/notestack.mk
173
 
186 tk 174
# MIDI file Player
175
include $(MIOS32_PATH)/modules/midifile/midifile.mk
176
 
956 tk 177
# FATFS Driver
178
include $(MIOS32_PATH)/modules/fatfs/fatfs.mk
248 tk 179
 
1261 tk 180
# FILE Access Layer
181
include $(MIOS32_PATH)/modules/file/file.mk
182
 
315 philetaylo 183
# Portable randomize module
184
include $(MIOS32_PATH)/modules/random/random.mk
185
 
736 tk 186
# For performance measurings
187
include $(MIOS32_PATH)/modules/freertos_utils/freertos_utils.mk
188
 
1049 tk 189
# UIP driver
190
include $(MIOS32_PATH)/modules/uip/uip.mk
191
 
1311 tk 192
# UIP Standard Task (with OSC Client/Server)
193
include $(MIOS32_PATH)/modules/uip_task_standard/uip_task_standard.mk
194
 
69 tk 195
# common make rules
1820 tk 196
# Please keep this include statement at the end of this Makefile. Add new modules above.
61 tk 197
include $(MIOS32_PATH)/include/makefile/common.mk