#pmake: build serv lcl os_dos dsx cpu_386 x86

host_os  = dos
host_cpu = 386

os  = cw
srv = cw
cpu = x86
name = cwhelp
which = SERVER

extra_c_flags = -DCAUSEWAY -DDOSXHELP -ms

extra_a_flags = -dCAUSEWAY -ms
extra_a_flags_cwhelp = -fpi87

inc_dirs = -I"../h"

!define substitute_linker

!include $(trap_dir)/lcl/dos/dosx/dosx.mif
!include $(trap_dir)/master.mif

objs =  cwhelp.obj &
        cwchelp.obj &
        cwacc.obj &
        mxutil.obj &
        misc7386.obj &
        x86cpu.obj

$(target) : $(objs) $(__MAKEFILES__)
    $(linker) system causeway name $^@ op map, statics, stub=cwdstub.exe f {$(objs)} l ../lib/system
