📄 makefile
字号:
include ../config.makLIBNAME = libosdep.aSRCS= shmem.c strsep.c strl.c vsscanf.c scandir.c gettimeofday.c fseeko.c \ swab.c # timer.cifeq ($(TARGET_ARCH_X86),yes)ifeq ($(TARGET_OS),Linux)SRCS += lrmi.c vbelib.cendifendifgetch = getch2.ctimer = timer-lx.cifeq ($(MACOSX_FINDER_SUPPORT),yes)SRCS += macosx_finder_args.cendififeq ($(TARGET_OS),Darwin)timer = timer-darwin.cendififeq ($(TARGET_OS),CYGWIN)timer = timer-win2.cendififeq ($(TARGET_OS),MINGW32)timer = timer-win2.cgetch = getch2-win.cSRCS += glob-win.cendifSRCS += $(timer)SRCS += $(getch)OBJS=$(SRCS:.c=.o)CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC)# -I/usr/X11R6/include/.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -