File: Makefile

package info (click to toggle)
maplay 1.2b-5
  • links: PTS
  • area: main
  • in suites: slink
  • size: 432 kB
  • ctags: 441
  • sloc: cpp: 5,421; sh: 97; makefile: 86
file content (89 lines) | stat: -rw-r--r-- 2,986 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
#  @(#) Makefile 1.12, last edit: 27 Oct 1994 17:16:46
#  @(#) 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.
#

#
#  Changes from 1.1 to 1.2:
#    - dependencies described directly, no more makedepend required
#    - all .c source files rename to .cc files
#    - strip command included after a successful compilation
#    - this makefile is now "Star Trek The Next Generation" compatible!
#


CFLAGS = $(COMPILERFLAGS) $(ULAWFLAG)
# debugging: -ggdb -DDEBUG
# profiling: -pg (gprof) or -p (prof)
# strip command has to be removed for debugging or profiling


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


.SUFFIXES:	.cc

install:
		@./configuration.sh

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

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

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

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

tags:
		-rm -f TAGS
		etags *.cc *.h Makefile configuration.sh

it:
		@echo >/dev/null
so:
		@echo I\'ll do my very best, Captain.
		@make install
		@echo Further orders, Sir\?


crc.o:			all.h crc.h
header.o:		all.h crc.h header.h ibitstream.h
ibitstream.o:		all.h ibitstream.h
maplay.o:		all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
			scalefactors.h subband.h subband_layer_1.h subband_layer_2.h \
			synthesis_filter.h ulaw.h
scalefactors.o:		all.h scalefactors.h
ulaw.o:			all.h ulaw.h
obuffer.o:		all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h obuffer.cc \
			obuffer_sparc.h obuffer_sparc.cc obuffer_hp.h obuffer_hp.cc \
			obuffer_irix.h obuffer_irix.cc obuffer_file.h obuffer_file.cc \
			obuffer_linux.h obuffer_linux.cc obuffer_next.h obuffer_next.cc \
			ulaw.h ulaw.cc
subband_layer_1.o:	all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
			scalefactors.h subband.h subband_layer_1.h synthesis_filter.h ulaw.h
subband_layer_2.o:	all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
			scalefactors.h subband.h subband_layer_2.h synthesis_filter.h ulaw.h
synthesis_filter.o:	all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
			synthesis_filter.h ulaw.h