build-common.sh at [6ad41a2c2b]

File build-common.sh artifact 1b93b7f590 part of check-in 6ad41a2c2b


#! /bin/bash

set -e

case "$1" in
	clean|distclean)
		rm -rf out inst
		rm -f libsystem.a system.o system.so
		rm -f system.tcl.h
		exit 0
		;;
esac

./stringify.tcl system.tcl > system.tcl.h