Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
428 nils 1
# $Id: Makefile 113 2008-10-29 23:41:00Z 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    = 	app.c  \
18
					engine.c  \
19
					sysex.c \
20
					filter.c \
21
					lfo.c \
22
					envelope.c \
23
					drum.c
24
 
25
# (following source stubs not relevant for Cortex M3 derivatives)
26
THUMB_AS_SOURCE =
27
ARM_SOURCE      =
28
ARM_AS_SOURCE   =
29
 
30
C_INCLUDE = 	-I .
31
A_INCLUDE = 	-I .
32
 
33
LIBS =
34
 
35
 
36
################################################################################
37
# Remaining variables
38
################################################################################
39
 
40
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
41
PROJECT   = 	project
42
 
43
DEBUG     =	-g
738 nils 44
OPTIMIZE  =	-O3
428 nils 45
 
46
CFLAGS = 		$(DEBUG) $(OPTIMIZE)
47
 
48
 
49
################################################################################
50
# Include source modules via additional makefiles
51
################################################################################
52
 
53
# sources of programming model
54
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
55
 
726 nils 56
# EEPROM emulation
57
include $(MIOS32_PATH)/modules/eeprom/eeprom.mk
58
 
428 nils 59
# application specific LCD driver (selected via makefile variable)
60
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
61
 
62
# common make rules
1820 tk 63
# Please keep this include statement at the end of this Makefile. Add new modules above.
428 nils 64
include $(MIOS32_PATH)/include/makefile/common.mk