build-common.sh at [71648d46bb]

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


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