Makefile revision 11242:8b3c0bd14c01
111308Santhony.gutierrez@amd.com# Copyright (c) 2003, 2005 The Regents of The University of Michigan 211308Santhony.gutierrez@amd.com# All rights reserved. 311308Santhony.gutierrez@amd.com# 411308Santhony.gutierrez@amd.com# Redistribution and use in source and binary forms, with or without 511308Santhony.gutierrez@amd.com# modification, are permitted provided that the following conditions are 611308Santhony.gutierrez@amd.com# met: redistributions of source code must retain the above copyright 711308Santhony.gutierrez@amd.com# notice, this list of conditions and the following disclaimer; 811308Santhony.gutierrez@amd.com# redistributions in binary form must reproduce the above copyright 911308Santhony.gutierrez@amd.com# notice, this list of conditions and the following disclaimer in the 1011308Santhony.gutierrez@amd.com# documentation and/or other materials provided with the distribution; 1111308Santhony.gutierrez@amd.com# neither the name of the copyright holders nor the names of its 1211308Santhony.gutierrez@amd.com# contributors may be used to endorse or promote products derived from 1311308Santhony.gutierrez@amd.com# this software without specific prior written permission. 1411308Santhony.gutierrez@amd.com# 1511308Santhony.gutierrez@amd.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1611308Santhony.gutierrez@amd.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1711308Santhony.gutierrez@amd.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1811308Santhony.gutierrez@amd.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1911308Santhony.gutierrez@amd.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2011308Santhony.gutierrez@amd.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2111308Santhony.gutierrez@amd.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2211308Santhony.gutierrez@amd.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2311308Santhony.gutierrez@amd.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2411308Santhony.gutierrez@amd.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2511308Santhony.gutierrez@amd.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2611308Santhony.gutierrez@amd.com# 2711308Santhony.gutierrez@amd.com# Authors: Nathan Binkert 2811308Santhony.gutierrez@amd.com 2911308Santhony.gutierrez@amd.comCCFLAGS= -g -O0 3011308Santhony.gutierrez@amd.com 3111308Santhony.gutierrez@amd.comdefault: m5term 3211308Santhony.gutierrez@amd.com 3311308Santhony.gutierrez@amd.comm5term: term.c 3411308Santhony.gutierrez@amd.com $(CC) $(LFLAGS) -o $@ $^ 3511308Santhony.gutierrez@amd.com 3611308Santhony.gutierrez@amd.cominstall: m5term 3711308Santhony.gutierrez@amd.com $(SUDO) install -o root -m 555 m5term /usr/local/bin 3811308Santhony.gutierrez@amd.com 3911308Santhony.gutierrez@amd.comclean: 4011308Santhony.gutierrez@amd.com @rm -f m5term *~ .#* 4111308Santhony.gutierrez@amd.com 4212126Sspwilson2@wisc.edu.PHONY: clean 4312126Sspwilson2@wisc.edu