makefile

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

TXT
43
字号
include config.makLIBNAME = libao2.a#SRCS=audio_out.c ao_mpegpes.c ao_null.c ao_pcm.c $(OPTIONAL_SRCS)SRCS=audio_out.c ao_null.c ao_pcm.c $(OPTIONAL_SRCS)OBJS=$(SRCS:.c=.o)CFLAGS  = $(OPTFLAGS) -I. -I.. $(ARTS_INC) $(ESD_INC) $(JACK_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DVB_INC) $(POLYP_INC).SUFFIXES: .c .o# .PHONY: all clean.c.o:	$(CC) -c $(CFLAGS) -o $@ $<$(LIBNAME):     $(OBJS)	$(AR) r $(LIBNAME) $(OBJS)	$(RANLIB) $(LIBNAME)all:    $(LIBNAME)clean:	rm -f *.o *.a *~distclean:	rm -f Makefile.bak *.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 + -
显示快捷键?