# Makefile for small hello world
#
#  Call blink explicitly so that we can use our special startup routines
# in crt1.o
#
hello: crt1.o hello.o
	blink crt1.o hello.o LIB clibs:libc.a SMALLCODE SMALLDATA

#
# Use the optimiser for all 'C' compilations
#
.c.o:
	NorthC -Ot:$*.s $*.c
	Top t:$*.s t:$*.s1
	a68k -q -g -O$*.o t:$*.s1
	delete t:$*.s t:$*.s1
