###############################################################################
#
# File:             Makefile
#
# Purpose:          Default Make file for Linux and/or other gcc systems.
#
# Usage:            make
#
# Author:           Michael Edwards - m@michael-edwards.org
#
# Date:             August 28th 2001
#
# License:          Copyright (C) 2001 Michael Edwards
#
#                   This file is part of rmsps.  
#
#                   rmsps is free software; you can redistribute it and/or
#                   modify it under the terms of the GNU General Public
#                   License as published by the Free Software Foundation;
#                   either version 2 of the License, or (at your option) any
#                   later version.
#
#                   rmsps 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 GNU General Public License for more
#                   details.
#
#                   You should have received a copy of the GNU General Public
#                   License along with rmsps; if not, write to the Free
#                   Software Foundation, Inc., 59 Temple Place, Suite 330,
#                   Boston, MA 02111-1307 USA
#
# $$ Last modified: 18:25:01 Wed Sep 19 2001 CEST
#
###############################################################################

SHELL = /bin/sh
OBJECTS = rmsps.o sndfile.o progparams.o
CFLAGS = -DIS_LITTLE_ENDIAN -Wall -O3
#CFLAGS = -DIS_LITTLE_ENDIAN -Wall -g
LIBS = -lm
COMPILER = gcc
TARGET = rmsps

$(TARGET): $(OBJECTS)
	$(COMPILER) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)

clean:
	rm -f $(OBJECTS)

rmsps.o: rmsps.cpp rmsps.h
	$(COMPILER) $(CFLAGS) -c rmsps.cpp

sndfile.o: sndfile.cpp sndfile.h
	$(COMPILER) $(CFLAGS) -c sndfile.cpp

progparams.o: progparams.cpp progparams.h
	$(COMPILER) $(CFLAGS) -c progparams.cpp

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

# EOF Makefile
