#!/bin/sh
#
#   This script makes the required symlinks to build the ThreadTest demo.
#   (The CVS system ignores symlinks and they aren't saved in the
#   repository).
#   Run this from the ThreadedApp directory.

rm -f Makefile.preamble
rm -f Counter.[mh]
rm -f misckit/misckit

# set up for MiscKit compilation
ln -s Makefile.preamble.MISC Makefile.preamble
ln -s . misckit/misckit

# use this for the simple demo
ln -s SimpleCounter.m Counter.m
ln -s SimpleCounter.h Counter.h

# use this for the intensive test
# ln -s TestCounter.m Counter.m
# ln -s TestSimpleCounter.h Counter.h

echo "done"
