1#****************************************************************************** 2# 3# Makefile.driverlib-cm3 - Rules for building the driver library. 4# 5# Copyright (c) 2005-2012 Texas Instruments Incorporated. All rights reserved. 6# Software License Agreement 7# 8# Texas Instruments (TI) is supplying this software for use solely and 9# exclusively on TI's microcontroller products. The software is owned by 10# TI and/or its suppliers, and is protected under applicable copyright 11# laws. You may not combine this software with "viral" open-source 12# software in order to form a larger program. 13# 14# THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS. 15# NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT 16# NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 17# A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY 18# CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL 19# DAMAGES, FOR ANY REASON WHATSOEVER. 20# 21# This is part of revision 9453 of the Stellaris Peripheral Driver Library. 22# 23#****************************************************************************** 24 25# 26# Defines the directory suffix that this project uses. 27# 28SUFFIX=-cm3 29 30# 31# Set the processor variant. 32# 33VARIANT=cm3 34 35# 36# The base directory for StellarisWare. 37# 38ROOT=.. 39 40# 41# Include the common make definitions. 42# 43include ${ROOT}/makedefs 44 45# 46# Where to find header files that do not live in the source directory. 47# 48IPATH=.. 49 50# 51# The default rule, which causes the driver library to be built. 52# 53all: ${COMPILER}-cm3 54all: ${COMPILER}-cm3/libdriver-cm3.a 55 56# 57# The rule to clean out all the build products. 58# 59clean: 60 @rm -rf ${COMPILER}-cm3 ${wildcard *~} 61 62# 63# The rule to create the target directory. 64# 65${COMPILER}-cm3: 66 @mkdir -p ${COMPILER}-cm3 67 68# 69# Rules for building the driver library. 70# 71${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/adc.o 72${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/can.o 73${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/comp.o 74${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/cpu.o 75${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/eeprom.o 76${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/epi.o 77${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/ethernet.o 78${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/fan.o 79${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/flash.o 80${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/fpu.o 81${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/gpio.o 82${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/hibernate.o 83${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/i2c.o 84${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/i2s.o 85${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/interrupt.o 86${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/lpc.o 87${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/mpu.o 88${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/peci.o 89${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/pwm.o 90${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/qei.o 91${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/ssi.o 92${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/sysctl.o 93${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/sysexc.o 94${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/systick.o 95${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/timer.o 96${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/uart.o 97${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/udma.o 98${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/usb.o 99${COMPILER}-cm3/libdriver-cm3.a: ${COMPILER}-cm3/watchdog.o 100 101# 102# Include the automatically generated dependency files. 103# 104ifneq (${MAKECMDGOALS},clean) 105-include ${wildcard ${COMPILER}-cm3/*.d} __dummy__ 106endif 107