1 #******************************************************************************
3 # Makefile - Rules for building the driver library and examples.
5 # Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reserved.
7 # Software License Agreement
9 # Luminary Micro, Inc. (LMI) is supplying this software for use solely and
10 # exclusively on LMI's Stellaris Family of microcontroller products.
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.
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.
24 #******************************************************************************
28 RTOS_SOURCE_DIR=../../Source
29 DEMO_SOURCE_DIR=../Common/Minimal
31 CFLAGS+=-I hw_include -I . -I ${RTOS_SOURCE_DIR}/include -I ${RTOS_SOURCE_DIR}/portable/GCC/ARM_CM3 -I ../Common/include -D GCC_ARMCM3_LM3S102 -D inline=
33 VPATH=${RTOS_SOURCE_DIR}:${RTOS_SOURCE_DIR}/portable/MemMang:${RTOS_SOURCE_DIR}/portable/GCC/ARM_CM3:${DEMO_SOURCE_DIR}:init:hw_include
35 OBJS=${COMPILER}/main.o \
\r
36 ${COMPILER}/list.o \
\r
37 ${COMPILER}/queue.o \
\r
38 ${COMPILER}/tasks.o \
\r
39 ${COMPILER}/port.o \
\r
40 ${COMPILER}/heap_1.o \
\r
41 ${COMPILER}/BlockQ.o \
\r
42 ${COMPILER}/PollQ.o \
\r
43 ${COMPILER}/integer.o \
\r
44 ${COMPILER}/semtest.o \
\r
45 ${COMPILER}/osram96x16.o
\r
47 INIT_OBJS= ${COMPILER}/startup.o
49 LIBS= hw_include/libdriver.a
53 # The default rule, which causes init to be built.
56 ${COMPILER}/RTOSDemo.axf \
59 # The rule to clean out all the build products
63 @rm -rf ${COMPILER} ${wildcard *.bin} RTOSDemo.axf
66 # The rule to create the target directory
71 ${COMPILER}/RTOSDemo.axf: ${INIT_OBJS} ${OBJS} ${LIBS}
72 SCATTER_RTOSDemo=standalone.ld
73 ENTRY_RTOSDemo=ResetISR
77 # Include the automatically generated dependency files.
79 -include ${wildcard ${COMPILER}/*.d} __dummy__