home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Secrets / Secrets2.iso / Audio / WAV / MaplayP / _SETUP.1 / Makefile.old < prev    next >
Encoding:
Makefile  |  1997-04-15  |  3.5 KB  |  89 lines

  1. #
  2. #  @(#) Makefile 1.12, last edit: 27 Oct 1994 17:16:46
  3. #  @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)
  4. #  @(#) Berlin University of Technology
  5. #
  6. #  This program is free software; you can redistribute it and/or modify
  7. #  it under the terms of the GNU General Public License as published by
  8. #  the Free Software Foundation; either version 2 of the License, or
  9. #  (at your option) any later version.
  10. #
  11. #  This program is distributed in the hope that it will be useful,
  12. #  but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. #  GNU General Public License for more details.
  15. #
  16. #  You should have received a copy of the GNU General Public License
  17. #  along with this program; if not, write to the Free Software
  18. #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. #
  20.  
  21. #
  22. #  Changes from 1.1 to 1.2:
  23. #    - dependencies described directly, no more makedepend required
  24. #    - all .c source files rename to .cc files
  25. #    - strip command included after a successful compilation
  26. #    - this makefile is now "Star Trek The Next Generation" compatible!
  27. #
  28.  
  29.  
  30. CFLAGS = $(COMPILERFLAGS)
  31. # debugging: -ggdb -DDEBUG
  32. # profiling: -pg (gprof) or -p (prof)
  33. # strip command has to be removed for debugging or profiling
  34.  
  35.  
  36. OBJS = maplay.o ibitstream.o header.o scalefactors.o subband_layer_1.o subband_layer_2.o \
  37.        synthesis_filter.o obuffer.o crc.o ulaw.o
  38.  
  39.  
  40. .SUFFIXES:      .cc
  41.  
  42. install:
  43.                 @./configuration.sh
  44.  
  45. maplay:         $(OBJS)
  46.                 $(COMPILER) $(CFLAGS) $(OBJS) -o $@ $(LIBRARIES)
  47.                 -strip $@
  48.  
  49. .cc.o:
  50.                 $(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@
  51.  
  52. depend:
  53.                 makedepend $(INCLUDEDIRS) -w100 *.cc
  54.  
  55. clean:
  56.                 -rm -f maplay audio_includes.h
  57.                 -rm -f *.o
  58.  
  59. tags:
  60.                 -rm -f TAGS
  61.                 etags *.cc *.h Makefile configuration.sh
  62.  
  63. it:
  64.                 @echo >/dev/null
  65. so:
  66.                 @echo I\'ll do my very best, Captain.
  67.                 @make install
  68.                 @echo Further orders, Sir\?
  69.  
  70.  
  71. crc.o:                  all.h crc.h
  72. header.o:               all.h crc.h header.h ibitstream.h
  73. ibitstream.o:           all.h ibitstream.h
  74. maplay.o:               all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
  75.                         scalefactors.h subband.h subband_layer_1.h subband_layer_2.h \
  76.                         synthesis_filter.h ulaw.h
  77. scalefactors.o:         all.h scalefactors.h
  78. ulaw.o:                 all.h ulaw.h
  79. obuffer.o:              all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h obuffer.cc \
  80.                         obuffer_sparc.h obuffer_sparc.cc obuffer_hp.h obuffer_hp.cc \
  81.                         obuffer_irix.h obuffer_irix.cc obuffer_file.h obuffer_file.cc \
  82.                         obuffer_linux.h obuffer_linux.cc obuffer_next.h obuffer_next.cc \
  83.                         ulaw.h ulaw.cc
  84. subband_layer_1.o:      all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
  85.                         scalefactors.h subband.h subband_layer_1.h synthesis_filter.h ulaw.h
  86. subband_layer_2.o:      all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
  87.                         scalefactors.h subband.h subband_layer_2.h synthesis_filter.h ulaw.h
  88. synthesis_filter.o:     all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
  89.                         synthesis_filter.h ulaw.h