#! /bin/csh

# (C) Copyright International Business Machines Corporation 23 January 
# 1990.  All Rights Reserved. 
#  
# See the file USERAGREEMENT distributed with this software for full 
# terms and conditions of use. 

# must be run from top-level Hermes directory
sed -f make/fixinclude.sed Makefile > Mkfile
sed 's/^CFLAGS.*=/CFLAGS = -Hnocpp/' < make/includefile > make/includefile.new
mv -f make/includefile.new make/includefile
foreach x ( asm cfunc cherm fe interface li lib construct windows/sunview )
  sed -f make/fixinclude.sed $x/Makefile > $x/Mkfile
end
