home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Secrets / Secrets2.iso / Audio / WAV / MaplayP / _SETUP.1 / Makefile < prev    next >
Encoding:
Makefile  |  1997-07-08  |  677 b   |  31 lines

  1. COMPILER=g++
  2.  
  3. COMPILERFLAGS=-O2 -DIRIX -DVERBOSE INCLUDEDIRS= LIBRARIES=-laudio -lm
  4. AUDIO_INCLUDES="#include <audio.h>";
  5.  
  6. IRIX=1 VERBOSE=1
  7.  
  8. CFLAGS = $(COMPILERFLAGS) 
  9.  
  10. # debugging: -ggdb -DDEBUG 
  11. # profiling: -pg (gprof) or -p (prof)  
  12. # strip command has to be removed for debugging or profiling
  13.  
  14. .SUFFIXES: .cc
  15.  
  16. OBJS = ibitstr.o maplay.o header.o scalfact.o sublay1.o sublay2.o \
  17.        synfilt.o obuffer.o crc.o bit_res.o cmdline.o huffman.o \
  18.      inv_mdct.o layer3.o
  19.  
  20. maplay: $(OBJS) 
  21.         $(COMPILER) $(CFLAGS) $(OBJS) -o maplay $(LIBRARIES) 
  22.  
  23. .cc.o:
  24.         $(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@
  25.  
  26. clean:
  27.         -rm -f *.o
  28.         -rm -f maplay audio_includes.h
  29.  
  30. # $(OBJS): all.h
  31.