# Makefile to build the UNIX library, a simple library to implement
# functions that act like some UNIX functions

libUNIX.a: close.o creat.o getw.o lseek.o open.o putw.o \
	   read.o tell.o write.o
	:bin/ar -olibUNIX.a -fUNIX.list


test: test.o open.o
	blink clibs:crt0.o test.o open.o close.o read.o lib clibs:libc.a

.c.o:
	NorthC -Ot:$*.s $*.c
	top t:$*.s t:$*.s1
	a68k -q -g -O$*.o t:$*.s
	delete t:$*.s t:$*.s1
