
#
#  @(#) Makefile 1.4, last edit: 2/17/94 14:39:25
#  @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)
#  @(#) Berlin University of Technology
#
#  This program 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.
#
#  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
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#


CFLAGS = $(COMPILERFLAGS)
# debugging: -ggdb -DDEBUG
# profiling: -pg


OBJS = maplay.o ibitstream.o header.o scalefactors.o subband_layer_1.o subband_layer_2.o \
       synthesis_filter.o obuffer.o crc.o


install:
		@./configuration.sh

all:		maplay

maplay:		$(OBJS)
		$(COMPILER) $(CFLAGS) $(OBJS) -o $@ $(LIBRARIES) -lm

.c.o:
		$(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $< -o $@

depend:
		makedepend $(INCLUDEDIRS) -w100 *.c

clean:
		-rm maplay makedepend_done audio_includes.h
		-rm *.o

tags:
		etags *.c *.h


# DO NOT DELETE THIS LINE -- make depend depends on it.
