makefile

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

TXT
40
字号
include ../config.makLIBNAME = libinput.aSRCS=input.c lirc.c OBJS=$(SRCS:.c=.o)CFLAGS  = $(OPTFLAGS) -I. -I.. $(EXTRA_INC).SUFFIXES: .c .o.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 + -
显示快捷键?