#****************************************************************************/
#*      Motorola Time Processor Unit microcode assembler                    */
#****************************************************************************/
#*                                                                          */
#*      Copyright 1998, (c) by Josef Wolf <jw@raven.inka.de>                */
#*                                                                          */
#*      This file is under the GNU General Public License.                  */
#*      See LICENSE for details.                                            */
#*                                                                          */
#****************************************************************************/
#*                                                                          */
#*      Build the example code                                              */
#*                                                                          */
#****************************************************************************/

example: example.o tpuglue.o
	cc example.o tpuglue.o -o example

tpuglue.o: tpuglue.h tpuglue.c tpumcode.h
example.o: tpuglue.h tpumcode.h

tpumcode.h: asyn_rxd asyn_txd tpumcode.asc
	tas -c tpumcode.h tpumcode.asc

clean:
	-rm -f core example tpumcode.h *.o *~
