📄 makefile
字号:
#===========================================================================## 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -