📄 makefile.dm
字号:
# 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 dmake.## Use this file while in the 'test' directory with the following statement:## dmake -r -f arch/msdos/Makefile.dm### Copyright 1996-2001 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.dmFT_MAKE = dmake -r.IMPORT: COMSPECSHELL := $(COMSPEC)SHELLFLAGS := /cGROUPSHELL := $(SHELL)GROUPFLAGS := $(SHELLFLAGS)GROUPSUFFIX := .batSHELLMETAS := *"?<>&|CC = gccLIBDIR = ../libLIBDIR_DOS = ..\libINCDIRS = -I$(LIBDIR) -I$(LIBDIR)/$(ARCH) -I. -I$(LIBDIR)/extendCFLAGS = -Wall -ansi -O2 -g $(INCDIRS)# CFLAGS = -ansi -Wall -O2 -s $(INCDIRS)# full-screen MSDOS driverGDRIVER = $(ARCH)/gfs_dos.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 $@ $<%.exe: $(CC) $(CFLAGS) -o $@ @$(mktmp $(&:t"\n")\n)EXEFILES = 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 do_distclean dependall: freetype $(EXEFILES)debug: freetype_debug $(EXEFILES)freetype:[ cd $(LIBDIR_DOS) $(FT_MAKE) -f $(FT_MAKEFILE) all cd $(MAKEDIR)]freetype_debug:[ cd $(LIBDIR_DOS) $(FT_MAKE) -f $(FT_MAKEFILE) debug cd $(MAKEDIR)]ftzoom.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.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[ cd $(LIBDIR_DOS) $(FT_MAKE) -f $(FT_MAKEFILE) clean cd $(MAKEDIR)]distclean: do_clean do_distclean[ cd $(LIBDIR_DOS) $(FT_MAKE) -f $(FT_MAKEFILE) distclean cd $(MAKEDIR)]do_distclean:-[ del dep.end del *.exe del core]do_clean:-[ del *.o del $(ARCH)\gfs_dos.o]#depend: $(SRC) $(GSRC)#[# cd $(LIBDIR_DOS)# $(FT_MAKE) -f $(FT_MAKEFILE) depend# cd $(MAKEDIR)# $(CC) -E -M $(INCDIRS) @$(mktmp $(<:t"\n")\n) > dep.end#]##ifeq (dep.end,$(wildcard dep.end))# include dep.end#endif# end of Makefile.dm
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -