⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 字体缩放显示
💻
字号:
# This file is part of the FreeType project.## It builds the library and test programs for emx-gcc under OS/2 or under# Unix with extra debugging capabilities.## You will need GNU make.## Use this file while in the lib 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 = gcc#CFLAGS = -W -Wall -O0 -g -ansi -pedantic -I$(ARCH) -I. -IextendCFLAGS = -Wall -O0 -g -ansi -I$(ARCH) -I. -Iextend#CFLAGS = -Wall -ansi -pedantic -O2 -s -I$(ARCH) -I. -Iextend# Detect OS/2 to add the flag -DOS2 when compiling ttinterp.c#ifdef OS2_SHELLOS := OS2RM := delelseOS := UNIX    # Unix build otherwiseRM := rm -fendifTTFILE   = ./ttfile.cTTMEMORY = ./ttmemory.cTTMUTEX  = ./ttmutex.cPORT = $(TTFILE) $(TTMEMORY) $(TTMUTEX)SRC_X = extend/ftxgasp.c extend/ftxkern.c  extend/ftxpost.c \        extend/ftxcmap.c extend/ftxwidth.c extend/ftxsbit.c \        extend/ftxgsub.c extend/ftxgpos.c  extend/ftxopen.c \        extend/ftxgdef.cOBJS_X = $(SRC_X:.c=.o)SRC_M = ttapi.c     ttcache.c   ttcalc.c   ttcmap.c  ttdebug.c \        ttgload.c   ttinterp.c  ttload.c   ttobjs.c \        ttraster.c  ttextend.c  $(PORT)OBJS_M = $(SRC_M:.c=.o) $(OBJS_X)SRC_S = $(ARCH)/freetype.cOBJ_S = $(SRC_S:.c=.o)OBJS_S = $(OBJ_S) $(OBJS_X)# We place the library file in the ARCH directory, so that it doesn't# interfere with the normal build.#LIBTTF_A = $(ARCH)/libttf.a%.o: %.c	$(CC) $(CFLAGS) -c -o $@ $< -D$(OS).PHONY: all debug clean distclean dependall:	$(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJS_S $(LIBTTF_A)debug:	$(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJS_M $(LIBTTF_A)$(OBJ_S): $(SRC_S) $(SRC_M)$(LIBTTF_A): $($(LIB_FILES))	-$(RM) $@	ar src $@ $^clean:ifdef OS2_SHELL	-$(RM) $(subst /,\,$(LIBTTF_A))	-$(RM) $(subst /,\,$(OBJS_S))else	-$(RM) $(LIBTTF_A)	-$(RM) $(OBJS_S)endifdistclean: clean	-$(RM) dep.enddepend: $(SRC_S) $(SRC_M) $(SRC_X)	$(CC) $(CFLAGS) -E -MM -I$(ARCH) -I. -Iextend $^ > dep.endifeq (dep.end,$(wildcard dep.end))  include dep.endendif# end of Makefile

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -