all : bccpp.obj wccpp.obj mccpp.asm mccpp.obj

bccpp.obj : cpp.cpp
  @bcpp2obj cpp
  @copy cpp.obj bccpp.obj
  @del cpp.obj

wccpp.obj : cpp.cpp
  @wcpp2obj cpp
  @copy cpp.obj wccpp.obj
  @del cpp.obj

mccpp.asm : cpp.cpp
  @mcpp2obj cpp
  @wdisasm -a cpp > mccpp.asm
  @del cpp.obj

mccpp.obj : mccpp.asm
  rem You must EDIT mccpp.asm and fix it.
  rem Change all ".text" to "_TEXT" and remove the 2 last segments
  rem which are not needed (and all the data in them)
  rem Then EXIT and the makefile will recompile it.
  rem Also make the _TEXT segment 'CODE' class.
  @command
  @wasm2obj mccpp

