📄 makefile.emx
字号:
# This file is part of the FreeType project.## It builds the library and test programs for emx-gcc under OS/2.## You will need GNU make.## Use this file while in the 'test' directory with the following statements:## make -f arch/os2/Makefile.emx depend# make -f arch/os2/Makefile.emx### 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/os2FT_MAKEFILE = $(ARCH)/Makefile.emxCC = gccLIBDIR = ../libINCDIRS = -I$(LIBDIR) -I$(LIBDIR)/extend -I$(LIBDIR)/$(ARCH) -I.CFLAGS = -Wall -ansi -O0 -g $(INCDIRS)# CFLAGS = -ansi -Wall -O2 -s -Zcrtdll $(INCDIRS)GFSDRIVER = $(ARCH)/gfs_os2.cGPMDRIVER = $(ARCH)/gpm_os2.cGPM_DEF = $(ARCH)/gpm_os2.defSRC = fttimer.c ftview.c ftlint.c ftzoom.c ftdump.c ftstring.c ftstrpnm.c \ ftsbit.c common.c blitter.c ftmetric.c ftstrtto.c arabic.c textdisp.oGSRC = gmain.c display.c blitter.cGFSSRC = $(GSRC) $(GFSDRIVER)GPMSRC = $(GSRC) $(GPMDRIVER)GFSOBJ = $(GFSSRC:.c=.o)GPMOBJ = $(GPMSRC:.c=.o)ALLSRC = $(SRC) $(GSRC) $(GFSDRIVER) $(GPMDRIVER)ALLOBJ = $(ALLSRC:.c=.o)%.o: %.c $(CC) $(CFLAGS) -c -o $@ $<%.exe: $(CC) $(CFLAGS) -o $@ $^EXEFILES = ftview.exe ftviewfs.exe \ fttimer.exe fttimefs.exe \ ftlint.exe \ ftstring.exe ftstrfs.exe \ ftstrpnm.exe \ ftzoom.exe ftzoomfs.exe \ ftsbit.exe \ ftdump.exe \ ftmetric.exe \ ftstrtto.exe ftstrtfs.exe.PHONY: all debug freetype freetype_debug \ clean distclean do_clean dependall: freetype $(EXEFILES)debug: freetype_debug $(EXEFILES)freetype: $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) allfreetype_debug: $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) debugftzoom.exe: $(GPMOBJ) ftzoom.o common.o $(LIBDIR)/libttf.a $(GPM_DEF)ftzoomfs.exe: $(GFSOBJ) ftzoom.o common.o $(LIBDIR)/libttf.aftview.exe: $(GPMOBJ) ftview.o common.o $(LIBDIR)/libttf.a $(GPM_DEF)ftviewfs.exe: $(GFSOBJ) ftview.o common.o $(LIBDIR)/libttf.a ftlint.exe: ftlint.o common.o $(LIBDIR)/libttf.aftdump.exe: ftdump.o common.o $(LIBDIR)/libttf.aftstring.exe: $(GPMOBJ) ftstring.o common.o $(LIBDIR)/libttf.a $(GPM_DEF)ftstrfs.exe: $(GFSOBJ) ftstring.o common.o $(LIBDIR)/libttf.aftstrpnm.exe: ftstrpnm.o common.o $(LIBDIR)/libttf.afttimer.exe: $(GPMOBJ) fttimer.o common.o $(LIBDIR)/libttf.a $(GPM_DEF)fttimefs.exe: $(GFSOBJ) fttimer.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: $(GPMOBJ) ftstrtto.o common.o arabic.o \ $(LIBDIR)/libttf.a $(GPM_DEF)ftstrtfs.exe: $(GFSOBJ) 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 $(EXEFILES) coredo_clean: -del $(subst /,\,$(ALLOBJ))depend: $(ALLSRC) $(MAKE) -C $(LIBDIR) -f $(FT_MAKEFILE) depend $(CC) -E -MM $(INCDIRS) $^ > dep.endifeq (dep.end,$(wildcard dep.end)) include dep.endendif# end of Makefile.emx
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -