Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
1284 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    = app.c \
18
		  terminal.c \
19
		  presets.c \
20
		  shell.c
21
 
22
# (following source stubs not relevant for Cortex M3 derivatives)
23
THUMB_AS_SOURCE =
24
ARM_SOURCE      =
25
ARM_AS_SOURCE   =
26
 
27
C_INCLUDE = 	-I .
28
A_INCLUDE = 	-I .
29
 
30
LIBS =
31
 
32
 
33
################################################################################
34
# Remaining variables
35
################################################################################
36
 
37
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
38
PROJECT   = 	project
39
 
40
DEBUG     =	-g
41
OPTIMIZE  =	-Os
42
 
43
CFLAGS =	$(DEBUG) $(OPTIMIZE)
44
 
45
 
46
################################################################################
47
# Include source modules via additional makefiles
48
################################################################################
49
 
50
# sources of programming model
51
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
52
 
53
# application specific LCD driver (selected via makefile variable)
54
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
55
 
56
# UIP driver
57
include $(MIOS32_PATH)/modules/uip/uip.mk
58
 
59
# UIP Standard Task (with DHCPC + OSC server and client)
60
include $(MIOS32_PATH)/modules/uip_task_standard/uip_task_standard.mk
61
 
62
# EEPROM emulation
63
include $(MIOS32_PATH)/modules/eeprom/eeprom.mk
64
 
65
# common make rules
1820 tk 66
# Please keep this include statement at the end of this Makefile. Add new modules above.
1284 tk 67
include $(MIOS32_PATH)/include/makefile/common.mk