anchor.diff: +@echo off
   @rem ----------------------------------------------------
   @rem batch file to build tcc using mingw gcc
   @rem ----------------------------------------------------
  
positive.code: %CC% %target% ../tcc.c -o tcc.exe -ltcc -Llibtcc
  
  :copy_std_includes
  copy ..\include\*.h include
  
  :libtcc1.a
  .\tcc %target% -c ../lib/libtcc1.c
  
negative.code: del *.o
  
  :makedoc
  where makeinfo > nul 2>&1 || goto :skip_makedoc
  echo>..\config.texi @set VERSION %VERSION%
  if not exist doc md doc
  makeinfo --html --no-split -o doc\tcc-doc.html ../tcc-doc.texi
  copy tcc-win32.txt doc
  copy ..\tests\libtcc_test.c examples
  :skip_makedoc
  