home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff384.lzh / NorthC / Example1.LZH / clibs / UNIX / Makefile < prev    next >
Makefile  |  1990-08-30  |  418b  |  17 lines

  1. # Makefile to build the UNIX library, a simple library to implement
  2. # functions that act like some UNIX functions
  3.  
  4. libUNIX.a: close.o creat.o getw.o lseek.o open.o putw.o \
  5.        read.o tell.o write.o
  6.     :bin/ar -olibUNIX.a -fUNIX.list
  7.  
  8.  
  9. test: test.o open.o
  10.     blink clibs:crt0.o test.o open.o close.o read.o lib clibs:libc.a
  11.  
  12. .c.o:
  13.     NorthC -Ot:$*.s $*.c
  14.     top t:$*.s t:$*.s1
  15.     a68k -q -g -O$*.o t:$*.s
  16.     delete t:$*.s t:$*.s1
  17.