Subversion Repositories svn.mios32

Rev

Rev 2545 | Blame | Compare with Previous | Last modification | View Log | RSS feed

# $Id: Makefile 2550 2017-12-22 18:48:29Z tk $

################################################################################
# following setup taken from environment variables
################################################################################

PROCESSOR = $(MIOS32_PROCESSOR)
FAMILY    =     $(MIOS32_FAMILY)
BOARD     =     $(MIOS32_BOARD)
LCD       =     $(MIOS32_LCD)


################################################################################
# Source Files, include paths and libraries
################################################################################

THUMB_SOURCE    = core/app.c \
        mios32/tasks.c \
        core/seq_hwcfg.c  \
        core/seq_ui.c  \
        core/seq_ui_pages.c  \
        core/seq_ui_todo.c \
        core/seq_ui_menu.c \
        core/seq_ui_bookmarks.c \
        core/seq_ui_edit.c \
        core/seq_ui_mute.c \
        core/seq_ui_pmute.c \
        core/seq_ui_pattern.c \
                core/seq_ui_pattern_remix.c \
        core/seq_ui_song.c \
        core/seq_ui_trkevnt.c \
        core/seq_ui_trkinst.c \
        core/seq_ui_trkmode.c \
        core/seq_ui_trkdir.c \
        core/seq_ui_trkdiv.c \
        core/seq_ui_trklen.c \
        core/seq_ui_trktran.c \
        core/seq_ui_trkgrv.c \
        core/seq_ui_trkmorph.c \
        core/seq_ui_trkrnd.c \
        core/seq_ui_trkeuclid.c \
        core/seq_ui_trkjam.c \
        core/seq_ui_trgasg.c \
        core/seq_ui_fx.c \
        core/seq_ui_fx_echo.c \
        core/seq_ui_fx_humanize.c \
        core/seq_ui_fx_robotize.c \
        core/seq_ui_fx_limit.c \
        core/seq_ui_fx_lfo.c \
        core/seq_ui_fx_dupl.c \
        core/seq_ui_fx_scale.c \
        core/seq_ui_manual.c \
        core/seq_ui_util.c \
        core/seq_ui_bpm.c \
        core/seq_ui_bpm_presets.c \
        core/seq_ui_opt.c \
        core/seq_ui_save.c \
        core/seq_ui_midi.c \
        core/seq_ui_sysex.c \
        core/seq_ui_disk.c \
        core/seq_ui_eth.c \
        core/seq_ui_midimon.c \
        core/seq_ui_mixer.c \
        core/seq_ui_cv.c \
        core/seq_ui_info.c \
        core/seq_ui_stepsel.c \
        core/seq_ui_trgsel.c \
        core/seq_ui_parsel.c \
        core/seq_ui_inssel.c \
        core/seq_ui_tracksel.c \
        core/seq_ui_trklive.c \
        core/seq_cv.c \
        core/seq_midi_port.c \
        core/seq_midi_in.c \
        core/seq_midi_sysex.c \
        core/seq_midi_router.c \
        core/seq_midply.c \
        core/seq_midexp.c \
        core/seq_midimp.c \
        core/seq_blm.c \
        core/seq_cc.c  \
        core/seq_cc_labels.c  \
        core/seq_core.c \
        core/seq_scale.c \
        core/seq_groove.c \
        core/seq_morph.c \
        core/seq_humanize.c \
        core/seq_robotize.c \
        core/seq_lfo.c \
        core/seq_chord.c \
        core/seq_pattern.c \
        core/seq_record.c \
        core/seq_live.c \
        core/seq_file.c \
        core/seq_file_b.c \
        core/seq_file_m.c \
        core/seq_file_s.c \
        core/seq_file_g.c \
        core/seq_file_c.c \
        core/seq_file_gc.c \
        core/seq_file_t.c \
        core/seq_file_bm.c \
        core/seq_file_hw.c \
        core/seq_layer.c \
        core/seq_random.c \
        core/seq_trg.c \
        core/seq_par.c \
        core/seq_mixer.c \
        core/seq_song.c \
        core/seq_label.c \
        core/seq_lcd.c \
        core/seq_lcd_logo.c \
        core/seq_ui_fx_loop.c \
        core/seq_terminal.c \
        core/seq_statistics.c \
        core/seq_led.c \
        core/seq_blm8x8.c \
        core/seq_tpd.c

# (following source stubs not relevant for Cortex M3 derivatives)
THUMB_AS_SOURCE =
ARM_SOURCE      =
ARM_AS_SOURCE   =

C_INCLUDE =     -I mios32 \
        -I core

A_INCLUDE =     -I .

LIBS =      


################################################################################
# Remaining variables
################################################################################

LD_FILE   =     $(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
PROJECT   =     project

DEBUG     = -g
OPTIMIZE  = -Os

CFLAGS =    $(DEBUG) $(OPTIMIZE)


################################################################################
# Include source modules via additional makefiles
################################################################################

# sources of programming model
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk

# application specific LCD driver (selected via makefile variable)
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk

# BLM
include $(MIOS32_PATH)/modules/blm/blm.mk

# BLM_SCALAR_MASTER
include $(MIOS32_PATH)/modules/blm_scalar_master/blm_scalar_master.mk

# AOUT Driver
include $(MIOS32_PATH)/modules/aout/aout.mk

# generic sequencer modules
include $(MIOS32_PATH)/modules/sequencer/sequencer.mk

# Notestack functions
include $(MIOS32_PATH)/modules/notestack/notestack.mk

# MIDI file Player
include $(MIOS32_PATH)/modules/midifile/midifile.mk

# FATFS Driver
include $(MIOS32_PATH)/modules/fatfs/fatfs.mk

# FILE Access Layer
include $(MIOS32_PATH)/modules/file/file.mk

# Portable randomize module
include $(MIOS32_PATH)/modules/random/random.mk

# For performance measurings
include $(MIOS32_PATH)/modules/freertos_utils/freertos_utils.mk

# UIP driver
include $(MIOS32_PATH)/modules/uip/uip.mk

# UIP Standard Task (with OSC Client/Server)
include $(MIOS32_PATH)/modules/uip_task_standard/uip_task_standard.mk

# common make rules
# Please keep this include statement at the end of this Makefile. Add new modules above.
include $(MIOS32_PATH)/include/makefile/common.mk