📄 makefile.gcc
字号:
# This file is part of the FreeType project.## It builds the library and test programs for gcc under Win32.## You will need GNU make.## Use this file while in the 'test' directory with the following statements:## make -f arch/win32/Makefile.gcc depend# make -f arch/win32/Makefile.gcc### If you have the GNU gettext package installed, you can also try## make -f arch/win32/Makefile.gcc HAVE_GETTEXT### 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/win32FT_MAKEFILE = $(ARCH)/Makefile.gccCC = gccLIBDIR = ../libINCDIRS = -I$(LIBDIR) -I$(LIBDIR)/$(ARCH) -I. -I$(LIBDIR)/extendifndef GETTEXTGETTEXT=NO_GETTEXTendifCFLAGS = -Wall -ansi -O2 -g $(INCDIRS)# -D$(GETTEXT)# CFLAGS = -ansi -Wall -O2 -s $(INCDIRS) -D$(GETTEXT)# graphic Windows driverGDRIVER = $(ARCH)/gw_win32.cSRC = arabic.c \ common.c \ textdisp.c \ ftdump.c \ fterror.c \ ftlint.c \ ftmetric.c \ ftsbit.c \ ftstring.c \ ftstrpnm.c \ ftstrtto.c \ fttimer.c \ ftview.c \ ftzoom.cGSRC = gmain.c display.c blitter.c $(GDRIVER)GOBJ = $(GSRC:.c=.o)%.o: %.c $(CC) $(CFLAGS) -c -o $@ $<ifeq ($(GETTEXT),HAVE_GETTEXT)%.exe: $(CC) $(CFLAGS) -o $@ $^ -lintlelse%.exe: $(CC) $(CFLAGS) -o $@ $^ -luser32 -lgdi32endifEXEFILES = ftdump.exe \ fterror.exe \ ftlint.exe \ ftmetric.exe \ ftsbit.exe \ ftstring.exe \ ftstrpnm.exe \ ftstrtto.exe \ fttimer.exe \ ftview.exe \ ftzoom.exe.PHONY: all debug freetype freetype_debug \ clean distclean do_clean dependall: freetype $(EXEFILES)debug: freetype_debug $(EXEFILES)HAVE_GETTEXT: $(MAKE) -f $(FT_MAKEFILE) GETTEXT=HAVE_GETTEXT allfreetype: $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) allfreetype_debug: $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) debugftzoom.exe: $(GOBJ) ftzoom.o common.o $(LIBDIR)/libttf.aftview.exe: $(GOBJ) ftview.o common.o $(LIBDIR)/libttf.aftlint.exe: ftlint.o common.o $(LIBDIR)/libttf.aftdump.exe: ftdump.o common.o $(LIBDIR)/libttf.afterror.exe: fterror.o common.o $(LIBDIR)/libttf.aftstring.exe: $(GOBJ) ftstring.o common.o $(LIBDIR)/libttf.afttimer.exe: $(GOBJ) fttimer.o common.o $(LIBDIR)/libttf.aftstrpnm.exe: ftstrpnm.o common.o $(LIBDIR)/libttf.aftsbit.exe: ftsbit.o common.o textdisp.o $(LIBDIR)/libttf.aftmetric.exe: ftmetric.o common.o textdisp.o $(LIBDIR)/libttf.aftstrtto.exe: $(GOBJ) ftstrtto.o common.o arabic.o $(LIBDIR)/libttf.aclean: do_clean $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) cleandistclean: do_clean $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) distclean -del dep.end -del *.exe -del coredo_clean: -del *.o -del response -del $(GDRIVER:.c=.o)depend: $(SRC) $(GSRC) $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) depend $(CC) -E -MM $(INCDIRS) $^ > dep.endifeq (dep.end,$(wildcard dep.end)) include dep.endendif# end of Makefile.gcc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -