Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
1197 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/terminal.c \
19
		  src/ACHandTracker.c \
20
		  src/ACHarmonizer.c \
21
		  src/ACMidi.c \
22
		  src/ACSyncronizer.c \
23
		  src/ACToolbox.c \
24
		  src/IIC_SpeakJet.c
25
 
26
# (following source stubs not relevant for Cortex M3 derivatives)
27
THUMB_AS_SOURCE =
28
ARM_SOURCE      =
29
ARM_AS_SOURCE   =
30
 
31
C_INCLUDE = 	-I src
32
 
33
A_INCLUDE = 	-I .
34
 
35
LIBS =
36
 
37
 
38
################################################################################
39
# Remaining variables
40
################################################################################
41
 
42
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
43
PROJECT   = 	project
44
 
45
DEBUG     =	-g
46
#DEBUG     =	-g -Wall -Wno-format -Wno-switch
47
OPTIMIZE  =	-O3
48
 
49
CFLAGS =	$(DEBUG) $(OPTIMIZE)
50
 
51
################################################################################
52
# Include source modules via additional makefiles
53
################################################################################
54
 
55
# sources of programming model
56
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
57
 
58
# application specific LCD driver (selected via makefile variable)
59
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
60
 
61
# Portable randomize module
62
include $(MIOS32_PATH)/modules/random/random.mk
63
 
64
# common make rules
1820 tk 65
# Please keep this include statement at the end of this Makefile. Add new modules above.
1197 tk 66
include $(MIOS32_PATH)/include/makefile/common.mk