home *** CD-ROM | disk | FTP | other *** search
Makefile | 1997-07-08 | 677 b | 31 lines |
- COMPILER=g++
-
- COMPILERFLAGS=-O2 -DIRIX -DVERBOSE INCLUDEDIRS= LIBRARIES=-laudio -lm
- AUDIO_INCLUDES="#include <audio.h>";
-
- IRIX=1 VERBOSE=1
-
- CFLAGS = $(COMPILERFLAGS)
-
- # debugging: -ggdb -DDEBUG
- # profiling: -pg (gprof) or -p (prof)
- # strip command has to be removed for debugging or profiling
-
- .SUFFIXES: .cc
-
- OBJS = ibitstr.o maplay.o header.o scalfact.o sublay1.o sublay2.o \
- synfilt.o obuffer.o crc.o bit_res.o cmdline.o huffman.o \
- inv_mdct.o layer3.o
-
- maplay: $(OBJS)
- $(COMPILER) $(CFLAGS) $(OBJS) -o maplay $(LIBRARIES)
-
- .cc.o:
- $(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@
-
- clean:
- -rm -f *.o
- -rm -f maplay audio_includes.h
-
- # $(OBJS): all.h
-