Subversion Repositories svn.mios32

Rev

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

Rev Author Line No. Line
823 philetaylo 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 \
1407 tk 19
	          httpd.c \
20
	          httpd-cgi.c \
21
		  fs.c \
22
	          http-strings.c \
23
		  dhcpc.c \
24
		  ntpclient.c \
25
		  clock-arch.c
823 philetaylo 26
 
27
 
28
# (following source stubs not relevant for Cortex M3 derivatives)
29
THUMB_AS_SOURCE =
30
ARM_SOURCE      =
31
ARM_AS_SOURCE   =
32
 
33
C_INCLUDE = 	-I .
34
A_INCLUDE = 	-I .
35
 
36
LIBS =
37
 
38
 
39
################################################################################
40
# Remaining variables
41
################################################################################
42
 
43
LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
44
PROJECT   = 	project
45
 
1407 tk 46
DEBUG     =	-g
823 philetaylo 47
OPTIMIZE  =	-Os
48
 
49
CFLAGS =	$(DEBUG) $(OPTIMIZE)
50
 
51
 
52
################################################################################
53
# Include source modules via additional makefiles
54
################################################################################
55
 
56
# sources of programming model
57
include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
58
 
59
# application specific LCD driver (selected via makefile variable)
60
include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
61
 
62
# UIP driver
63
include $(MIOS32_PATH)/modules/uip/uip.mk
64
 
65
# DOSFS Driver
66
include $(MIOS32_PATH)/modules/dosfs/dosfs.mk
67
 
68
# FreeRTOS Utils
69
include $(MIOS32_PATH)/modules/freertos_utils/freertos_utils.mk
70
 
71
# common make rules
1820 tk 72
# Please keep this include statement at the end of this Makefile. Add new modules above.
823 philetaylo 73
include $(MIOS32_PATH)/include/makefile/common.mk