makefile
来自「来自网络的iaxclient的协议栈源码」· 代码 · 共 69 行
TXT
69 行
#===========================================================================## Description: Makefile for libfg## Author: Gavin Baker <gavinb@antonym.org>## Homepage: http://www.antonym.org/libfg## License: Released under the GPL v2##===========================================================================.SUFFIXES: .c .o#---------------------------------------------------------------------------# Options#---------------------------------------------------------------------------# TargetsLIB = libfg.aEXE = test_captureOBJS = capture.o frame.o# Build flags with no guiINCLUDES = -I.CFLAGS = -g3 -Wall $(INCLUDES)LFLAGS = -lmCC = gccMAKEDEP = makedepend#---------------------------------------------------------------------------# Build section#---------------------------------------------------------------------------%.o : %.c ${CC} ${CFLAGS} -c $< -o $@all: $(EXE) $(LIB) camview$(LIB): $(OBJS) ar r $(LIB) $(OBJS)$(EXE): $(LIB) test_capture.o $(CC) $(LFLAGS) -o $(EXE) test_capture.o $(LIB)camview: camview.c $(CC) $(CFLAGS) $(LFLAGS) -o camview camview.c \ libfg.a -lSDL -lpthreaddoc: # doxygen libfg.doxdep: # $(MAKEDEP) $(INCLUDES) -Y -s "# Dependencies (generated by 'make dep')" *.c 2>/dev/null $(RM) -f Makefile.bakclean: @rm -f $(EXE) $(LIB) $(OBJS) test_capture.o camview *~#===========================================================================# Dependencies (generated by 'make dep')capture.o: capture.h frame.hfgmodule.o: capture.h frame.hframe.o: frame.htest_capture.o: capture.h frame.h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?