lib.mif

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MIF 代码 · 共 49 行

MIF
49
字号

!ifneq host_os nt
!   error Unknown OS.
!endif

#
# Define the name(s) of the program(s) to build.
#
!ifeq      host_os nt
!   define lib_stub lib.exe
!else
!   define lib_stub
!endif

done: $(lib_stub) lib386.exe libaxp.exe libppc.exe

!include ../../master.mif

!include $(orl_dir)/client.mif

libstub_objs        = libstub.obj $(mstools_stub_obj) $(mstools_objs)
lib_common_objs     = demangle.obj dlltool.obj fuzzy.obj hash.obj parse.obj $(mstools_objs)
lib386_objs         = deff386.obj lib386.obj mesg386.obj xlate386.obj $(lib_common_objs)
libaxp_objs         = deffaxp.obj libaxp.obj mesgaxp.obj xlateaxp.obj $(lib_common_objs)
libppc_objs         = deffppc.obj libppc.obj mesgppc.obj xlateppc.obj $(lib_common_objs)
lib_hdrs            = optparsh.gh
lib_common_libs     = $(orl_lib)

.c :  ../c;../../c;$(lib_misc_dir)/c
.h :  ../h;../../h;$(lib_misc_dir)/h;$(orl_dir)/h

inc_dirs +=  -I"$(lib_misc_dir)/h" -I"$(orl_dir)/h"

#
# Instructions for building the executable.
#

lib.exe :  $(libstub_objs)
        $(linker) $(lflags) name $^@ file {$(libstub_objs)}

lib386.exe :  $(lib_hdrs) $(lib386_objs) $(lib_common_libs)
        $(linker) $(lflags) name $^@ file {$(lib386_objs)} library {$(lib_common_libs)}

libaxp.exe :  $(lib_hdrs) $(libaxp_objs) $(lib_common_libs)
        $(linker) $(lflags) name $^@ file {$(libaxp_objs)} library {$(lib_common_libs)}

libppc.exe :  $(lib_hdrs) $(libppc_objs) $(lib_common_libs)
        $(linker) $(lflags) name $^@ file {$(libppc_objs)} library {$(lib_common_libs)}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?