# CVS Comment Section
# 
# $Log: Makefile,v $
# Revision 1.1.1.1  2011/12/30 02:47:49  hensley
# First import
#
# 
# Changed libSPAweb.a to libSPAcomlin.a
# 
# Checked into sturmmitte CVS as "spacomlin" ^^^
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Revision 1.4  2011/07/01 22:21:19  hensley
# Changed TSDIS to PPS
# 
# Revision 1.3  2008/08/20 21:31:55  hensley
# Changed libSPA.a to libSPAweb.a
# 
# Revision 1.2  2008/08/19 21:28:12  hensley
# Set to compile under TSDIS_LIB
# 
# Revision 1.1.1.1  2008/08/19 21:17:02  hensley
# First Import
# 
# Checked into sturmmitte CVS as "spaweb" ^^^
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Revision 1.1.1.1  2008/06/18 23:06:08  hensley
# Baseline PPS-- Code
# 
# Linux CVS Comments When Imported as "spa" ^^^
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# SGI CVS Comments vvv
# 
# Revision 1.3  1997/08/01 17:41:45  piper
# Modified to use n32 compile switches.
# 
# Revision 1.2  1997/04/24 20:10:52  piper
# Changed mv to rm for object files.
# 
# Revision 1.1  1996/12/20 20:04:59  tjohnson
# moved Makefile from upper level
# 
# Revision 1.1  1996/11/22 23:13:25  bilanow
# Added to CVS spa directory
# 
# Revision 1.1  1996/09/20  19:31:29  bilanow
# 
# 
#***********************************************************************
# Linux Makefile for command line SPATIAL SEARCH software
#***********************************************************************
#
SHELL = /bin/sh
# Library location/name
ARCHIVE = $(PPSLIB)/libSPAcomlin.a
#
# Library location/name used for testing
# ARCHIVE = libSPAcomlin.a
#
# Compilers
CC = /usr/bin/cc
AR = /usr/bin/ar
#
# Compiler flags
CFLAGS = -ansi
#
# Include file location
INCLUDES = -I$(PPSINC)
#
# Include file location used for testing
# INCLUDES = -I../inc \
#            -I$(PPSINC)
#
# Object files
OBJS = \
	SPAspatialBound.o \
	SPAgetModParams.o \
	SPAgetBVal.o
# 
#************************************************
# Linking

spa:	$(OBJS)
	@echo MAKING $@ ARCHIVE 
	$(AR) -r $(ARCHIVE) $(OBJS)
	@rm -f *.o 
# 
#************************************************
# Compiling

SPAspatialBound.o:
	$(CC) -c $(CFLAGS) $(INCLUDES) SPAspatialBound.c

SPAgetBVal.o :
	$(CC) -c $(CFLAGS) $(INCLUDES) SPAgetBVal.c
	
SPAgetModParams.o :
	$(CC) -c $(CFLAGS) $(INCLUDES) SPAgetModParams.c
# 	
#************************************************
# Clean up

clean:	
	rm -f $(ARCHIVE) 
# 
#************************************************
