head	1.4;
access;
symbols
	FTZ_05:1.4.1.1
	Distribution_06:1.4
	M_FTZ_04_Philips_01:1.3.3.1
	Philips_01:1.3.2.1
	FTZ_04:1.3.1.1
	D6Base:1.3
	Distribution_05:1.3
	FTZ_03:1.3
	Distribution_04:1.3
	Distribution_03:1.3
	Samsung_01:1.3
	Distribution_01a:1.3
	Dist02_Sam_Merge:1.3
	Distribution_02:1.3
	IRT_TI_Merge:1.2.1.2
	Distribution_00:1.1
	Distribution_01:1.1;
locks
	rowlands:1.4; strict;
comment	@## @;


1.4
date	96.01.20.17.02.20;	author rowlands;	state Exp;
branches
	1.4.1.1;
next	1.3;

1.3
date	95.06.16.08.44.24;	author rowlands;	state Exp;
branches
	1.3.1.0
	1.3.2.0
	1.3.3.0;
next	1.2;

1.2
date	95.06.14.04.39.32;	author rowlands;	state Exp;
branches
	1.2.1.0;
next	1.1;

1.1
date	95.04.06.05.43.27;	author rowlands;	state Exp;
branches;
next	;

1.2.1.0
date	95.06.16.02.07.35;	author rowlands;	state Exp;
branches;
next	1.2.1.1;

1.2.1.1
date	95.06.16.02.09.26;	author rowlands;	state Exp;
branches;
next	1.2.1.2;

1.2.1.2
date	95.06.16.03.16.47;	author rowlands;	state Exp;
branches;
next	;

1.3.1.0
date	95.11.05.19.20.30;	author rowlands;	state Exp;
branches;
next	1.3.1.1;

1.3.1.1
date	95.11.05.19.24.24;	author rowlands;	state Exp;
branches;
next	;

1.3.2.0
date	95.11.05.19.26.31;	author rowlands;	state Exp;
branches;
next	1.3.2.1;

1.3.2.1
date	95.11.05.19.28.58;	author rowlands;	state Exp;
branches;
next	;

1.3.3.0
date	95.11.05.22.35.38;	author rowlands;	state Exp;
branches;
next	1.3.3.1;

1.3.3.1
date	95.11.05.22.50.42;	author rowlands;	state Exp;
branches;
next	1.3.3.2;

1.3.3.2
date	96.01.20.16.59.40;	author rowlands;	state Exp;
branches;
next	1.3.3.3;

1.3.3.3
date	96.02.14.05.37.37;	author rowlands;	state Exp;
branches;
next	;

1.4.1.1
date	96.01.20.17.28.45;	author rowlands;	state Exp;
branches;
next	;


desc
@MPEG-2 public C decoder
@


1.4
log
@Moved merged FTZ_04 and Philips_01 into main trunk
@
text
@###############################################################################
## Copyright (c) 1995 MPEG/audio software simulation group
## All Rights Reserved
## $Id: makefile 1.3.3.2 1996/01/20 16:59:40 rowlands Exp $
##
## MPEG/audio coding/decoding software, work in progress
##   NOT for public distribution until verified and approved by the
##   MPEG/audio committee.
##
## $Log: makefile $
## Revision 1.3.3.2  1996/01/20  16:59:40  rowlands
## Added "test" target for running compliance bitstreams. Also
## added "veryclean" target to leave only source.
##
## Revision 1.3.3.1  1995/11/05  22:50:42  rowlands
## Merged FTZ_04 and Philips_01 using #ifdefs
##
## Revision 1.3  1995/06/16  08:44:24  rowlands
## Moved merged IRT/TI into main revision control trunk.
##
## Revision 1.2.1.2  1995/06/16  03:16:47  rowlands
## Added executable to make clean
##
## Revision 1.2.1.0  1995/06/16  02:07:35  rowlands
## Created branch for TI
##
## Revision 1.2  1995/06/14  04:39:32  rowlands
## Added "make clean"
##
## Revision 1.1  1995/04/06  05:43:27  rowlands
## Initial revision
##
###############################################################################

###############################
# Compiler flags for UNIX
CC		= gcc
CFLAGS		= -DUNIX -g2
LFLAGS		= -lm
EXE_SUFFIX	=
OBJ_SUFFIX	= .o

###############################
# Compiler flags for DOS MSC6.0
#CC		= cl
#CFLAGS		= -Zi -Gt -AH -DMSDOS -DMS_DOS
#LFLAGS		= -link /stack:0x8000
#EXE_SUFFIX	= .exe
#OBJ_SUFFIX	= .obj

.c$(OBJ_SUFFIX):
	$(CC) -c $(CFLAGS) $<

DECOBJS = decode$(OBJ_SUFFIX) common$(OBJ_SUFFIX) musicout$(OBJ_SUFFIX)

musicout$(EXE_SUFFIX) : $(DECOBJS)
	$(CC) $(CFLAGS) -o $@@ $(DECOBJS) $(LFLAGS)

$(DECOBJS): common.h decoder.h

clean:
	rm -f $(DECOBJS)

veryclean:
	rm -f musicout$(EXE_SUFFIX) $(DECOBJS) test/*.dec test/*.pcm

test: musicout$(EXE_SUFFIX)
	-for f in test/test*.mpg ; do musicout$(EXE_SUFFIX) $$f ; done
@


1.4.1.1
log
@Received from Ralf Schwalbe - includes prediction
@
text
@d4 1
a4 1
## $Id: makefile 1.3 1995/06/16 08:44:24 rowlands Exp $
d11 7
d37 1
a37 1
CC		= cc
d62 7
a68 1
	rm -f musicout$(EXE_SUFFIX) $(DECOBJS)
@


1.3
log
@Moved merged IRT/TI into main revision control trunk.
@
text
@d4 1
a4 1
## $Id: makefile 1.3 1995/06/16 06:19:08 rowlands Exp $
d11 10
d62 7
a68 1
	rm -f musicout$(EXE_SUFFIX) $(DECOBJS)
@


1.3.3.0
log
@Branch for merging FTZ_04 and Philips_01
@
text
@d4 1
a4 1
## $Id: makefile 1.3 1995/06/16 08:44:24 rowlands Exp $
a10 3
## Revision 1.3  1995/06/16  08:44:24  rowlands
## Moved merged IRT/TI into main revision control trunk.
##
@


1.3.3.1
log
@Merged FTZ_04 and Philips_01 using #ifdefs
@
text
@@


1.3.3.2
log
@Added "test" target for running compliance bitstreams. Also
added "veryclean" target to leave only source.
@
text
@d4 1
a4 1
## $Id: makefile 1.3.3.1 1995/11/05 22:50:42 rowlands Exp rowlands $
a10 3
## Revision 1.3.3.1  1995/11/05  22:50:42  rowlands
## Merged FTZ_04 and Philips_01 using #ifdefs
##
d55 1
a55 7
	rm -f $(DECOBJS)

veryclean:
	rm -f musicout$(EXE_SUFFIX) $(DECOBJS) test/*.dec test/*.pcm

test: musicout$(EXE_SUFFIX)
	-for f in test/test*.mpg ; do musicout$(EXE_SUFFIX) $$f ; done
@


1.3.3.3
log
@Added miscellaneous testing stuff
@
text
@d4 1
a4 1
## $Id: makefile 1.3.3.2 1996/01/20 16:59:40 rowlands Exp rowlands $
a10 4
## Revision 1.3.3.2  1996/01/20  16:59:40  rowlands
## Added "test" target for running compliance bitstreams. Also
## added "veryclean" target to leave only source.
##
d34 1
a34 1
CFLAGS		= -DUNIX -g2 -O
a46 19
TEST_FILES = \
	test/test01.aiff \
	test/test02.aiff \
	test/test03.aiff \
	test/test04.aiff \
	test/test05.aiff \
	test/test06.aiff \
	test/test07.aiff \
	test/test08.aiff \
	test/test09.aiff \
	test/test14.aiff \
	test/test15.aiff \
	test/test16.aiff \
	test/test17.aiff \
	test/test18.aiff \
	test/test19.aiff

.SUFFIXES: .mpg .aiff

a49 4
.mpg.aiff: musicout$(EXE_SUFFIX)
	-musicout$(EXE_SUFFIX) $*.mpg $@@
	-pcm2aiff $* -a

a56 2
test: musicout$(EXE_SUFFIX) $(TEST_FILES)

d60 2
a61 5
cleantest:
	rm -f test/*.aiff test/*.pcm

veryclean: clean cleantest
	rm -f musicout$(EXE_SUFFIX)
d63 2
a64 2
testcmp: test
	-cd test;for f in *.pcm ; do echo $$f: ; absdiff $$f pcm/$$f ; done
@


1.3.2.0
log
@Branch for ten Kate
@
text
@d4 1
a4 1
## $Id: makefile 1.3 1995/06/16 08:44:24 rowlands Exp $
a10 3
## Revision 1.3  1995/06/16  08:44:24  rowlands
## Moved merged IRT/TI into main revision control trunk.
##
@


1.3.2.1
log
@Received from Warner ten Kate
@
text
@@


1.3.1.0
log
@Branch for Schwalbe
@
text
@d4 1
a4 1
## $Id: makefile 1.3 1995/06/16 08:44:24 rowlands Exp $
a10 3
## Revision 1.3  1995/06/16  08:44:24  rowlands
## Moved merged IRT/TI into main revision control trunk.
##
@


1.3.1.1
log
@Received from Ralf Schwalbe
@
text
@@


1.2
log
@Added "make clean"
@
text
@d4 1
a4 1
## $Id: makefile 1.1 1995/04/06 05:43:27 rowlands Exp rowlands $
d11 9
@


1.2.1.0
log
@Created branch for TI
@
text
@d4 1
a4 1
## $Id: makefile 1.2 1995/06/14 04:39:32 rowlands Exp $
a10 3
## Revision 1.2  1995/06/14  04:39:32  rowlands
## Added "make clean"
##
@


1.2.1.1
log
@Added compiler flag for dematrix 2 filter debug
@
text
@d4 1
a4 1
## $Id: makefile 1.3 1995/06/16 02:06:33 rowlands Exp $
a10 3
## Revision 1.2.1.0  1995/06/16  02:07:35  rowlands
## Created branch for TI
##
d22 1
a22 1
CFLAGS		= -DUNIX -g2 -UDISABLE_DEMATRIX2_FILTER
@


1.2.1.2
log
@Added executable to make clean
@
text
@d4 1
a4 1
## $Id: makefile 1.2.1.1 1995/06/16 02:09:26 rowlands Exp rowlands $
d25 1
a25 1
CFLAGS		= -DUNIX -g2
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
## $Id$
d10 4
a13 1
## $Log$
d41 3
@
