# Makefile
#  Makefile for libgraphics, modified from Arachi dist
#
# $Id$
#
# This file is part of the RiSE Simulation Library
#  Copyright (c) 2003 
#    Regents of The University of Michigan,
#    Carnegie Mellon University,
#    Stanford University
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the RiSE Simulator License version
# 1.0. You should have received a copy of this license along with
# this program; if not, write to <ulucs+risesim@cs.cmu.edu>.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# LICENSE file for more details.

####################################################################

# This line defines the names of test executables. Note that we assume
# the presence of an associated .cc file for each executable.
# TEST = processors

# This line specifies the name of the library in which all the object
# files for the sources below will be collected into.
LIBRARY = libsimgraphics.a

# This line specifies the source files that will becompiled to form
# the library
SOURCES = \
	DuDebug.cc window.cc primitives.cc texture.cc

# This line specifies any additional flags that you want to feed the
# compiler. It is usually used to specify additional include
# directories through -I and additional link directories through -L
AUXFLAGS = \
	-I$(ARACHI_DIR)/include \
	-I$(SIMLIB_DIR)/../include


# This line specifies any additional libraries that you want to link
# your executable against. Note that you MUST specify the full path of
# the library in question.
AUXLIBS =

LIBS = 

#################################################
# The rest of this file should not be modified  #
#################################################

ifndef SIMLIB_DIR
$(error SIMLIB_DIR environment variable is not defined!)
endif

everything: all
clean : cleanall

# Standard targets
include $(SIMLIB_DIR)/tools/tooldefs.mk
include $(SIMLIB_DIR)/tools/libtargets.mk

