makefile

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

TXT
31
字号
#pmake: os_dos os_win cpu_i86 cpu_386

host_OS = dos
host_CPU = i86

!include cproj.mif
!include defrule.mif
!include deftarg.mif

#
# make stubs for real-mode compilers and tools
#
all: wcc386p.exe wccx.exe wfcp.exe wfc386p.exe wlinkp.exe

wcc386p.exe: execpgm.c
        $(cc) $[@ -ox -dPGM_NAME="wcc386.exe" -fo=.obj
        $(linker) system dos name $^@ file $[&.obj
wfc386p.exe: execpgm.c
        $(cc) $[@ -ox -dPGM_NAME="wfc386.exe" -fo=.obj
        $(linker) system dos name $^@ file $[&.obj
wccx.exe: execpgm.c
        $(cc) $[@ -ox -dPGM_NAME="wcc.exe" -fo=.obj
        $(linker) system dos name $^@ file $[&.obj
wfcp.exe: execpgm.c
        $(cc) $[@ -ox -dPGM_NAME="wfc.exe" -fo=.obj
        $(linker) system dos name $^@ file $[&.obj
wlinkp.exe: execpgm.c
        $(cc) $[@ -ox -dPGM_NAME="wlink.exe" -fo=.obj
        $(linker) system dos name $^@ file $[&.obj

⌨️ 快捷键说明

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