build-common.sh at [4626ecb025]

File build-common.sh artifact 1b93b7f590 part of check-in 4626ecb025


#! /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