Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
408 stryd_one 1
# $Id: Makefile 367 2009-02-24 09:06: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
                  uip_task.c \
817 tk 19
		  dhcpc.c \
20
		  telnet.c
408 stryd_one 21
 
22
 
23
# (following source stubs not relevant for Cortex M3 derivatives)
24
THUMB_AS_SOURCE =
25
ARM_SOURCE      =
26
ARM_AS_SOURCE   =
27
 
28
C_INCLUDE = 	-I .
29
A_INCLUDE = 	-I .
30
 
31
LIBS =
32
 
33
 
34
################################################################################
35
# Remaining variables
36
################################################################################
37
 
38
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
39
PROJECT   = 	project
40
 
41
DEBUG     =	-g
42
OPTIMIZE  =	-Os
43
 
44
CFLAGS =	$(DEBUG) $(OPTIMIZE)
45
 
46
 
47
################################################################################
48
# Include source modules via additional makefiles
49
################################################################################
50
 
51
# sources of programming model
52
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
53
 
54
# application specific LCD driver (selected via makefile variable)
55
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
56
 
57
# UIP driver
58
include $(MIOS32_PATH)/modules/uip/uip.mk
59
 
60
# common make rules
1820 tk 61
# Please keep this include statement at the end of this Makefile. Add new modules above.
408 stryd_one 62
include $(MIOS32_PATH)/include/makefile/common.mk