build-common.sh at [ecc5931c14]

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


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