]> git.sur5r.net Git - freertos/blob - Demo/CORTEX_LM3S6965_GCC/Makefile
Update to V4.3.0 as described in http://www.FreeRTOS.org/History.txt
[freertos] / Demo / CORTEX_LM3S6965_GCC / Makefile
1 #******************************************************************************
2 #
3 # Makefile - Rules for building the driver library and examples.
4 #
5 # Copyright (c) 2005,2006 Luminary Micro, Inc.  All rights reserved.
6 #
7 # Software License Agreement
8 #
9 # Luminary Micro, Inc. (LMI) is supplying this software for use solely and
10 # exclusively on LMI's Stellaris Family of microcontroller products.
11 #
12 # The software is owned by LMI and/or its suppliers, and is protected under
13 # applicable copyright laws.  All rights are reserved.  Any use in violation
14 # of the foregoing restrictions may subject the user to criminal sanctions
15 # under applicable laws, as well as to civil liability for the breach of the
16 # terms and conditions of this license.
17 #
18 # THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
19 # OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
20 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
21 # LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
22 # CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
23 #
24 #******************************************************************************
25
26 include makedefs
27
28 RTOS_SOURCE_DIR=../../Source
29 DEMO_SOURCE_DIR=../Common/Minimal
30 UIP_SOURCE_DIR=../Common/ethernet/uIP/uip-1.0/uip
31
32 CFLAGS+=-I LuminaryDrivers -I . -I ${RTOS_SOURCE_DIR}/include -I ${RTOS_SOURCE_DIR}/portable/GCC/ARM_CM3 -I ${UIP_SOURCE_DIR} -I webserver -I ../Common/include -D GCC_ARMCM3_LM3S102 -D inline= -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -D sprintf=usprintf -D snprintf=usnprintf -D printf=uipprintf
33
34 VPATH=${RTOS_SOURCE_DIR}:${RTOS_SOURCE_DIR}/portable/MemMang:${RTOS_SOURCE_DIR}/portable/GCC/ARM_CM3:${DEMO_SOURCE_DIR}:${UIP_SOURCE_DIR}:init:LuminaryDrivers:ParTest:webserver
35
36 OBJS=${COMPILER}/main.o             \
37           ${COMPILER}/list.o            \
38       ${COMPILER}/queue.o           \
39       ${COMPILER}/tasks.o           \
40       ${COMPILER}/port.o            \
41       ${COMPILER}/heap_2.o          \
42           ${COMPILER}/BlockQ.o          \
43           ${COMPILER}/PollQ.o           \
44           ${COMPILER}/integer.o         \
45           ${COMPILER}/semtest.o         \
46           ${COMPILER}/osram128x64x4.o   \
47       ${COMPILER}/ustdlib.o         \
48       ${COMPILER}/blocktim.o        \
49       ${COMPILER}/death.o           \
50       ${COMPILER}/ParTest.o         \
51       ${COMPILER}/timertest.o       \
52       ${COMPILER}/emac.o            \
53       ${COMPILER}/http-strings.o    \
54       ${COMPILER}/httpd-cgi.o       \
55       ${COMPILER}/httpd-fs.o        \
56       ${COMPILER}/httpd.o           \
57       ${COMPILER}/psock.o           \
58       ${COMPILER}/timer.o           \
59       ${COMPILER}/uip.o             \
60       ${COMPILER}/uip_arp.o         \
61       ${COMPILER}/uIP_Task.o
62
63 INIT_OBJS= ${COMPILER}/startup.o
64
65 LIBS= LuminaryDrivers/libdriver.a
66
67
68 #
69 # The default rule, which causes init to be built.
70 #
71 all: ${COMPILER}           \
72      ${COMPILER}/RTOSDemo.axf \
73          
74 #
75 # The rule to clean out all the build products
76 #
77
78 clean:
79         @rm -rf ${COMPILER} ${wildcard *.bin} RTOSDemo.axf
80         
81 #
82 # The rule to create the target directory
83 #
84 ${COMPILER}:
85         @mkdir ${COMPILER}
86
87 ${COMPILER}/RTOSDemo.axf: ${INIT_OBJS} ${OBJS} ${LIBS}
88 SCATTER_RTOSDemo=standalone.ld
89 ENTRY_RTOSDemo=ResetISR
90
91 #
92 #
93 # Include the automatically generated dependency files.
94 #
95 -include ${wildcard ${COMPILER}/*.d} __dummy__
96
97
98          
99
100
101