📄 makefile.wat
字号:
# This file is part of the FreeType project## This builds the test programs with the Watcom compiler## You'll need Watcom's wmake## Invoke by "wmake -f arch\os2\Makefile.wat" when in the "test" directory### 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.## This compiler did compile early versions of the FreeType package.# While we tried our best to maintain the makefiles, the development team# does not have currently access to a copy of this compiler, and we did not# receive notices of successful builts since many years. So be prepared# to have some problems; and if it works for you, or if you can upgrade the# package in any way, please notify us!ARCH = arch\os2FT_MAKEFILE = $(ARCH)\Makefile.watFT_MAKE = wmake -h.EXTENSIONS:.EXTENSIONS: .exe .obj .c .h.obj:..c:..h:.;..\libCC = wcl386LIBDIR = ..\libINCDIRS = -I$(LIBDIR) -I$(LIBDIR)\$(ARCH) -I$(LIBDIR)\extendLIBFILE = $(LIBDIR)\libttf.libLINK_OPTS = OBJ_CFLAGS = /c /otexanl+ /s /w4 /zq $(INCDIRS)CCFLAGS = /otexanl+ /s /w4 /zq $(INCDIRS)GFSDRIVER = $(ARCH)\gfs_os2.objGFSDRIVER_SRC = $(ARCH)\gfs_os2.cGPMDRIVER = $(ARCH)\gpm_os2.objGPMDRIVER_SRC = $(ARCH)\gpm_os2.cGPMDRIVER_DEF = $(ARCH)\gpm_os2.defSRC = gmain.c display.c blitter.c textdisp.c & fttimer.c ftview.c ftlint.c ftzoom.c ftdump.c ftstring.c & ftstrpnm.c ftsbit.c ftmetric.c ftstrtto.c & $(GPMDRIVER_SRC) $(GFSDRIVER_SRC)GFSOBJ = gmain.obj $(GFSDRIVER) blitter.obj display.objGPMOBJ = gmain.obj $(GPMDRIVER) blitter.obj display.objPM = $(LIBFILE) $(GPMOBJ) common.objFS = $(LIBFILE) $(GFSOBJ) common.obj# graphics utility and test driverEXEFILES = ftview.exe ftviewfs.exe & fttimer.exe fttimefs.exe & ftlint.exe & ftdump.exe & ftstring.exe ftstrfs.exe & ftzoom.exe ftzoomfs.exe & ftstrpnm.exe & ftsbit.exe & ftmetric.exe & ftstrtto.exe ftstrtfs.exeall: freetype $(EXEFILES)debug: freetype_debug $(EXEFILES)freetype: .symbolic cd ..\lib $(FT_MAKE) -f $(FT_MAKEFILE) all cd ..\testfreetype_debug: .symbolic cd ..\lib $(FT_MAKE) -f $(FT_MAKEFILE) debug cd ..\test# implicit rules#.c.obj : $(CC) $(OBJ_CFLAGS) $[* /fo=$[*.obj# the full-screen graphics driver#$(GFSDRIVER): $(GFSDRIVER_SRC) $(CC) $(OBJ_CFLAGS) $[*.c /fo=$[*.obj# the pm graphics driver#$(GPMDRIVER): $(GPMDRIVER_SRC) $(CC) $(OBJ_CFLAGS) $[*.c /fo=$[*.objftzoom.exe : ftzoom.obj $(LIBFILE) $(PM) $(GPMDRIVER_DEF) $(CC) $(CCFLAGS) -l=os2v2_pm $(PM) $[*.c /fe=$[*.exeftzoomfs.exe : ftzoom.obj $(LIBFILE) $(FS) $(CC) $(CCFLAGS) $(FS) $[@ /fe=ftzoomfs.exeftview.exe : ftview.obj $(LIBFILE) $(PM) $(GPMDRIVER_DEF) $(CC) $(CCFLAGS) -l=os2v2_pm $(PM) $[*.c /fe=$[*.exeftviewfs.exe : ftview.obj $(LIBFILE) $(FS) $(CC) $(CCFLAGS) $(FS) $[*.c /fe=ftviewfs.exeftstring.exe : ftstring.obj $(LIBFILE) $(PM) $(GPMDRIVER_DEF) $(CC) $(CCFLAGS) -l=os2v2_pm $(PM) $[*.c /fe=$[*.exe ftstrfs.exe : ftstring.obj $(LIBFILE) $(FS) $(CC) $(CCFLAGS) $(FS) $[*.c /fe=ftstrfs.exefttimer.exe: fttimer.obj $(LIBFILE) $(PM) $(GPMDRIVER_DEF) $(CC) $(CCFLAGS) -l=os2v2_pm $(PM) $[*.c /fe=$[*.exefttimefs.exe: fttimer.obj $(LIBFILE) $(FS) $(CC) $(CCFLAGS) $(FS) $[*.c /fe=fttimefs.exeftlint.exe: ftlint.obj $(LIBFILE) $(CC) $(CCFLAGS) $(LIBFILE) common.obj $[*.c /fe=$[*.exeftdump.exe: ftdump.obj $(LIBFILE) $(CC) $(CCFLAGS) $(LIBFILE) common.obj $[*.c /fe=$[*.exeftstrpnm.exe: ftstrpnm.obj $(LIBFILE) $(CC) $(CCFLAGS) $(LIBFILE) common.obj $[*.c /fe=$[*.exeftsbit.exe: ftsbit.obj textdisp.obj $(LIBFILE) $(CC) $(CCFLAGS) $(LIBFILE) common.obj textdisp.obj $[*.c /fe=$[*.exeftmetric.exe: ftmetric.obj textdisp.obj $(LIBFILE) $(CC) $(CCFLAGS) $(LIBFILE) common.obj textdisp.obj $[*.c /fe=$[*.exeftstrtto.exe : ftstrtto.obj arabic.obj $(LIBFILE) $(PM) $(GPMDRIVER_DEF) $(CC) $(CCFLAGS) -l=os2v2_pm $(PM) $[*.c /fe=$[*.exe ftstrtfs.exe : ftstrtto.obj arabic.obj $(LIBFILE) $(FS) $(CC) $(CCFLAGS) $(FS) $[*.c /fe=ftstrtfs.execlean: .symbolic @-erase *.obj @-erase $(ARCH)\*.objdistclean: .symbolic clean @-erase *.exe @-erase *.err cd ..\lib $(FT_MAKE) -f $(FT_MAKEFILE) distclean cd ..\testnew: .symbolic @-wtouch *.c# end of Makefile.wat
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -