makeall.mif
来自「开放源码的编译器open watcom 1.6.0版的源代码」· MIF 代码 · 共 60 行
MIF
60 行
!ifdef __LINUX__
all : .symbolic
clean : .symbolic
clean_build : .symbolic
!else
!ifdef prebuild
!include $(posix_dir)/mif/bld_cmds.mif
!else
!include $(posix_dir)/mif/commands.mif
!endif
!include $(posix_dir)/mif/targos.mif
!include $(posix_dir)/mif/common.mif
!ifdef __UNIX__
altposixlibdir=$(posix_dir)/misc/$(targos)/ms
!else
altposixlibdir=$(posix_dir)\misc\$(targos)\ms
!endif
all : lib $(commands) .symbolic
@%null
lib : .symbolic $(__MAKEFILES__)
curr_dir_all=$+ $(%cwd) $-
@cd $(posixlibdir)
!@wmake -h release=$(release)
!ifeq targos dos
@cd $(altposixlibdir)
!@wmake -h release=$(release)
!else ifeq targos dosos2
@cd $(altposixlibdir)
!@wmake -h release=$(release)
!endif
@cd $(curr_dir_all)
$(commands) : .symbolic $(__MAKEFILES__)
!@wmake -h targos=$(targos) make_all=1 release=$(release) -f $(posix_dir)/src/$^@/makefile
!ifdef install
@wstrip $^@.exe $(install)/$^@.exe
@wtouch -f $^@.exe $(install)/$^@.exe
!endif
clean : .symbolic
!@wmake -h -f $(posixlibdir)/makefile clean clean_dir=$(posixlibdir)
!ifeq targos dos
!@wmake -h -f $(altposixlibdir)/makefile clean clean_dir=$(altposixlibdir)
!else ifeq targos dosos2
!@wmake -h -f $(altposixlibdir)/makefile clean clean_dir=$(altposixlibdir)
!endif
rm -f *.ex? *.?bj *.map *.lst *.smp *.lnk *.lbc *.lib *.err *.sym
@if exist rm.exe erase rm.exe
clean_build : .symbolic
@for %i in ($(commands)) do rm -f $(%OWBINDIR)/%i.exe
!endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?