📄 makefile.gcc
字号:
# This file is part of the FreeType project.## It builds the library for emx-gcc or djgpp under MSDOS.## You will need GNU make, and sed if you want to make depend## Use this file while in the lib directory with the following statements:## make -f arch/msdos/Makefile.gcc depend# make -f arch/msdos/Makefile.gcc## If you have the GNU gettext package installed with DJGPP, you can also try## make -f arch/msdos/Makefile.gcc HAVE_GETTEXT## You should also modify the path below to reflect where the *.mo# files are on your system, and install there the one for freetype.### 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/msdosFT_MAKEFILE = $(ARCH)/Makefile.gccCC = gccifndef GETTEXTGETTEXT=NO_GETTEXTendififdef DEBUGCFLAGS = -Wall -O2 -g -ansi -pedantic -I$(ARCH) -I. -Iextend -D$(GETTEXT)elseCFLAGS = -Wall -ansi -pedantic -O2 -s -I$(ARCH) -I. -Iextend -D$(GETTEXT)endifTTFILE = ./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/ftxgdef.c \ extend/ftxopen.c extend/ftxerr18.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)%.o: %.c $(CC) $(CFLAGS) -c -o $@ $<.PHONY: all debug clean distclean dependall: $(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJS_S libttf.adebug: $(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJS_M DEBUG=1 libttf.aHAVE_GETTEXT: $(MAKE) -f $(FT_MAKEFILE) LIB_FILES=OBJS_S GETTEXT=HAVE_GETTEXT \ libttf.a$(OBJ_S): $(SRC_S) $(SRC_M)libttf.a: $($(LIB_FILES)) -del $@ ar src $@ $^clean: -del *.o -del extend\*.o -del arch\msdos\*.o -del responsedistclean: clean -del dep.end -del libttf.adepend: $(SRC_S) $(SRC_M) $(SRC_X) $(CC) -E -MM -I$(ARCH) -I. -Iextend $^ | \ sed -e "s!^freetype.!$(ARCH)/freetype.!" | \ sed -e "s!^ftx!extend/ftx!" > dep.endifeq (dep.end,$(wildcard dep.end)) include dep.endendif# end of Makefile.gcc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -