makefile
来自「字体缩放显示」· 代码 · 共 111 行
TXT
111 行
# This file is part of the FreeType project.## It builds the debugger for emx-gcc under OS/2 resp. under Unix.## You will need GNU make.## Use this file while in the `test' directory with the following statements:## make -f arch/debugger/Makefile depend# make -f arch/debugger/Makefile### Copyright 1996-2002 by# David Turner, Robert Wilhelm, and Werner Lemberg.## This file is part of the FreeType project, and may only be used, modified,# and distributed under the terms of the FreeType project license,# LICENSE.TXT. By continuing to use, modify, or distribute this file you# indicate that you have read the license and understand and accept it# fully.ARCH = arch/debuggerFT_MAKEFILE = $(ARCH)/MakefileCC = gccLIBDIR = ../libLIBTTF = $(LIBDIR)/$(ARCH)/libttf.aINCDIRS = -I$(LIBDIR) -I$(LIBDIR)/extend -I$(LIBDIR)/$(ARCH) -I.# Note: The debugger uses non-ANSI functions to read the keyboard# on OS/2 -- do not set the `-ansi flag here.#CFLAGS = -Wall -O0 -g $(INCDIRS)SRC = fdebug.c common.cALLSRC = $(SRC)ALLOBJ = $(ALLSRC:.c=.o)# on OS/2, do not use the curses library#ifdef OS2_SHELLEXE := fdebug.exeOS := OS2EFENCE :=EXTRAFLAGS :=RM := delelseEXE := fdebugOS := UNIXEFENCE := -lefenceRM := rm -f## POSIX TERMIOS: Do not define if you use OLD U*ix like 4.2BSD.#EXTRAFLAGS := HAVE_POSIX_TERMIOSendif%.o: %.c $(CC) $(CFLAGS) -c -o $@ $< -D$(OS) -D$(EXTRAFLAGS)%.exe: $(CC) $(CFLAGS) -o $@ $^ EXEFILES = $(EXE).PHONY: all debug freetype freetype_debug \ clean distclean do_clean dependall: freetype $(EXEFILES)debug: freetype_debug $(EXEFILES)$(EXE): fdebug.o common.o $(LIBTTF)$(EXE): $(CC) $(CFLAGS) -o $@ $^ $(EFENCE)freetype: $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) allfreetype_debug: $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) debugclean: do_clean $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) cleandistclean: do_clean $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) distclean -$(RM) dep.end $(EXEFILES) coredo_clean: -$(RM) $(subst /,\,$(ALLOBJ))depend: $(ALLSRC) $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) depend $(CC) -E -MM $(INCDIRS) $^ > dep.endifeq (dep.end,$(wildcard dep.end)) include dep.endendif# end of Makefile.emx
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?