Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
1573 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
 
17
THUMB_SOURCE    = src/app.c \
18
		  src/mbng_sysex.c \
19
		  src/mbng_patch.c \
1575 tk 20
		  src/mbng_event.c \
1573 tk 21
		  src/mbng_din.c \
22
		  src/mbng_dout.c \
23
		  src/mbng_enc.c \
24
		  src/mbng_ain.c \
1622 tk 25
		  src/mbng_ainser.c \
1688 tk 26
		  src/mbng_kb.c \
1573 tk 27
		  src/mbng_matrix.c \
1631 tk 28
		  src/mbng_cv.c \
1605 tk 29
		  src/mbng_mf.c \
1579 tk 30
		  src/mbng_lcd.c \
1573 tk 31
		  src/mbng_file.c \
1587 tk 32
		  src/mbng_file_c.c \
1584 tk 33
		  src/mbng_file_l.c \
1708 tk 34
		  src/mbng_file_s.c \
1720 tk 35
		  src/mbng_file_r.c \
1573 tk 36
                  src/terminal.c \
37
		  src/scs_config.c
38
 
39
 
40
# (following source stubs not relevant for Cortex M3 derivatives)
41
THUMB_AS_SOURCE =
42
ARM_SOURCE      =
43
ARM_AS_SOURCE   =
44
 
45
C_INCLUDE = 	-I src
46
A_INCLUDE = 	-I src
47
 
48
LIBS =
49
 
50
 
51
################################################################################
52
# Remaining variables
53
################################################################################
54
 
55
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
56
PROJECT   = 	project
57
 
58
DEBUG     =	-g
59
OPTIMIZE  =	-Os
60
 
61
CFLAGS =	$(DEBUG) $(OPTIMIZE)
62
 
63
 
64
################################################################################
65
# Include source modules via additional makefiles
66
################################################################################
67
 
68
# sources of programming model
69
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
70
 
71
# application specific LCD driver (selected via makefile variable)
72
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
73
 
74
# MIDI Router (and port handling)
75
include $(MIOS32_PATH)/modules/midi_router/midi_router.mk
76
 
77
# MIDImon
78
include $(MIOS32_PATH)/modules/midimon/midimon.mk
79
 
80
# UIP driver
81
include $(MIOS32_PATH)/modules/uip/uip.mk
82
 
83
# UIP Standard Task (with DHCPC + OSC server and client)
84
include $(MIOS32_PATH)/modules/uip_task_standard/uip_task_standard.mk
85
 
1599 tk 86
# For performance measurings
87
include $(MIOS32_PATH)/modules/freertos_utils/freertos_utils.mk
88
 
1667 tk 89
# KEYBOARD driver
90
include $(MIOS32_PATH)/modules/keyboard/keyboard.mk
91
 
1573 tk 92
# AINSER driver
93
include $(MIOS32_PATH)/modules/ainser/ainser.mk
94
 
1631 tk 95
# AOUT Driver
96
include $(MIOS32_PATH)/modules/aout/aout.mk
97
 
1752 tk 98
# MAX72xx Driver
99
include $(MIOS32_PATH)/modules/max72xx/max72xx.mk
100
 
1631 tk 101
# Notestack functions
102
include $(MIOS32_PATH)/modules/notestack/notestack.mk
103
 
1573 tk 104
# FATFS Driver
105
include $(MIOS32_PATH)/modules/fatfs/fatfs.mk
106
 
107
# FILE Access Layer
108
include $(MIOS32_PATH)/modules/file/file.mk
109
 
1584 tk 110
# MD5 checksum generator
111
include $(MIOS32_PATH)/modules/md5/md5.mk
112
 
1573 tk 113
# generic sequencer modules
114
include $(MIOS32_PATH)/modules/sequencer/sequencer.mk
115
 
116
# USB Mass Storage Device Driver
117
include $(MIOS32_PATH)/modules/msd/msd.mk
118
 
119
# Sources for Standard Control Surface
120
include $(MIOS32_PATH)/modules/scs/scs.mk
121
 
122
# common make rules
1820 tk 123
# Please keep this include statement at the end of this Makefile. Add new modules above.
1573 tk 124
include $(MIOS32_PATH)/include/makefile/common.mk