📄 makefile.gcc
字号:
# This file is part of the FreeType project.## It builds the library and test programs for emx-gcc and djgpp under MSDOS.## You will need a recent GNU make DOS port.## Use this file while in the 'test' 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## Note that this version takes in account new versions of GNU gettext,# which in turn requires the iconv library. If you have an old version# of gettext and don't have the iconv library, just erase the `-l iconv'.## Also take a look at the lib Makefile (at ../lib/arch/msdos/Makefile.gcc),# about the need to have the path to the *.mo files correct.### 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 = 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)# full-screen MSDOS driverGDRIVER = $(ARCH)/gfs_dos.c $(ARCH)/gmain_dj.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 = display.c blitter.c $(GDRIVER)GOBJ = $(GSRC:.c=.o)%.o: %.c $(CC) $(CFLAGS) -c -o $@ $<ifeq ($(GETTEXT),HAVE_GETTEXT)%.exe: $(CC) $(CFLAGS) -o $@ $^ -lintl -liconv# Remove `-l iconv' above if you have an old version# of GNU gettext (like 0.10.35) and no iconv library.else%.exe: $(CC) $(CFLAGS) -o $@ $^endifEXEFILES = 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 $(ARCH)\gfs_dos.odepend: $(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 + -