makefile

来自「自己移植的linux下的流媒体播放器原代码,支持mms协议,支持ftp和http」· 代码 · 共 47 行

TXT
47
字号
LIBNAME = liba52.ainclude ../config.makSRCS    = crc.c resample.c bit_allocate.c bitstream.c downmix.c imdct.c imdct_mlib.c parse.cOBJS	= $(SRCS:.c=.o)CFLAGS  = $(MLIB_INC) $(OPTFLAGS) .SUFFIXES: .c .o# .PHONY: all clean.c.o:	$(CC) -c $(CFLAGS) -o $@ $<$(LIBNAME):	$(OBJS)	$(AR) r $(LIBNAME) $(OBJS)	$(RANLIB) $(LIBNAME)test:        $(LIBNAME) test.c	$(CC) $(CFLAGS)  test.c ../cpudetect.c -o test ../osdep/libosdep.a ./liba52.a -lmtest2:        $(LIBNAME) test.c	$(CC) $(CFLAGS) test.c -o test2 ../libac3/libac3.a ./liba52.a -lmall:	$(LIBNAME)clean:	rm -f *.o *.a *~distclean:	rm -f test *.o *.a *~ .dependdep:    dependdepend:	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend## include dependency files if they exist#ifneq ($(wildcard .depend),)include .dependendif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?