?? makefile.solaris
字號:
## By:Alex Theo de Jong# Description:# Makefile for MPEG 2 Audio player for SUN Solaris## Operating SystemOS = -DSOLARIS # -DSOLARIS_PTHREAD# Use Solaris Multi-ThreadingTHREADLIB = -lthread # -L/opt/pthread/lib/libpthread.a THREADINC = # -I/opt/pthread/include # none# DirectoriesPIDRDIR = .INSTLIB = ../../../LibINSTINC = ../../../IncINSTBIN = ../../../Bin/Solaris2.5# ToolsCP = cpRM = rm -fCHMOD = chmod 666AR = arCPP = CC # Sparc C++ Compiler # g++ -V2.7.2 # -V2.6.3STRP = strip# Compiler optionsDEBUG = -g # -DDEBUG # -DTRACE # -ggdb # -DTRACEWARNINGS = -w # -Wall OPTIMIZE = -O # -O2 # -O6 #CPPFLAGS = $(DEBUG) $(WARNINGS) $(OS) $(OPTIMIZE) \ -I$(PIDRDIR) -I$(INSTINC) $(THREADINC) # Linker flagsLDFLAGS = -L$(INSTLIB)LDLIBS = -lmpeg -lutil $(THREADLIB)# Things to compilePROGRAM = mpeg2audioOBJECTS = mpeg2audio.o astream.o header.o scalefactors.o subband_layer_1.o \ subband_layer_2.o synthesis_filter.o obuffer.o crc.oLIBRARY = libmpeg.a# compile linesall: $(PROGRAM)install: $(PROGRAM) binclean: $(RM) *.o *~ *.~?~ core $(PROGRAM)installclean: clean%.a: $(OBJECTS) $(AR) vrus $(INSTLIB)/$*.a $(OBJECTS) $(CP) *.hh $(INSTINC) $(CHMOD) $(INSTINC)/*.hhmpeg2audio: $(LIBRARY) main.o $(RM) $(PROGRAM) $(CPP) -o $(PROGRAM) main.o $(LDFLAGS) $(LDLIBS)bin: $(PROGRAM) $(CP) $(PROGRAM) $(INSTBIN) $(STRP) $(INSTBIN)/$(PROGRAM).cc.o: $(RM) $@ $(CPP) $(CPPFLAGS) -c $<# Dependenciescrc.o: crc.hhheader.o: astream.hh header.hh crc.hhobuffer.o: obuffer.hh header.hh crc.hh scalefactors.o: scalefactors.hh subband_layer_1.o: subband_layer_1.hh astream.hh subband_layer_1.o: subband.hh header.hh crc.hh synthesis_filter.hh obuffer.hhsubband_layer_1.o: scalefactors.hhsubband_layer_2.o: subband_layer_2.hh astream.hh subband.hh header.hh crc.hhsubband_layer_2.o: synthesis_filter.hh obuffer.hh scalefactors.hhsynthesis_filter.o: synthesis_filter.hh obuffer.hh header.hh crc.hhastream.o: astream.hhmpeg2audio.o: mpeg2audio.hh
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -