📄 makefile.wat
字号:
# This file is part of the FreeType project.## This builds the Watcom library with Watcom's wcc386 under OS/2.## You'll need Watcom's wmake.### Invoke by "wmake -f arch\os2\Makefile.wat" when in the "lib" directory## This will build "freetype\lib\libttf.lib"### 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\os2FT_MAKEFILE = $(ARCH)\Makefile.watFT_MAKE = wmake -h.EXTENSIONS:.EXTENSIONS: .lib .obj .c .h.obj:.;.\extend;.\$(ARCH).c:.;.\extend;.\$(ARCH).h:.;.\extend;.\$(ARCH)CC = wcc386CCFLAGS = /otexanl+ /s /w5 /zq -Iarch\os2 -I. -IextendTTFILE = .\ttfile.cTTMEMORY = .\ttmemory.cTTMUTEX = .\ttmutex.cTTFILE_OBJ = ttfile.objTTMEMORY_OBJ = ttmemory.objTTMUTEX_OBJ = ttmutex.objPORT = $(TTFILE) $(TTMEMORY) $(TTMUTEX)PORT_OBJS = $(TTFILE_OBJ) $(TTMEMORY_OBJ) $(TTMUTEX_OBJ)SRC_X = extend\ftxgasp.c extend\ftxkern.c extend\ftxpost.c & extend\ftxcmap.c extend\ftxwidth.c extend\ftxsbit.c & extend\ftxgsub.c extend\ftxgpos.c extend\ftxopen.c & extend\ftxgdef.cOBJS_X = extend\ftxgasp.obj extend\ftxkern.obj extend\ftxpost.obj & extend\ftxcmap.obj extend\ftxwidth.obj extend\ftxsbit.obj & extend\ftxgsub.obj extend\ftxgpos.obj extend\ftxopen.obj & extend\ftxgdef.objSRC_M = ttapi.c ttcache.c ttcalc.c ttcmap.c & ttgload.c ttinterp.c ttload.c ttobjs.c & ttraster.c ttextend.c $(PORT)OBJS_M = ttapi.obj ttcache.obj ttcalc.obj ttcmap.obj & ttgload.obj ttinterp.obj ttload.obj ttobjs.obj & ttraster.obj ttextend.obj $(PORT_OBJS) $(OBJS_X)SRC_S = freetype.cOBJ_S = freetype.objOBJS_S = $(OBJ_S) $(OBJS_X).c.obj: $(CC) $(CCFLAGS) $[* /fo=$[*.objall: .symbolic $(FT_MAKE) -f $(FT_MAKEFILE) libttf.libdebug: .symbolic $(FT_MAKE) -f $(FT_MAKEFILE) LIB_FILES="$(OBJS_M)" libttf.liblibttf.lib: $(OBJS_M) wlib -q -n libttf.lib $(OBJS_M)# is this correct? Know nothing about wmake and the Watcom compiler...$(OBJ_S): $(SRC_S) $(SRC_M) $(CC) $(CCFLAGS) $(SRC_S) /fo=$(OBJ_S)clean: .symbolic @-erase $(OBJS_M) @-erase *.errdistclean: .symbolic clean @-erase libttf.libnew: .symbolic @-wtouch *.c# end of Makefile.wat
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -