home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / mbase.zip / MAKEFILE < prev    next >
Text File  |  1991-02-11  |  637b  |  21 lines

  1. # NOT FOR USE WITH AMIGA SYSTEMS!  This Makefile is for, obviously,
  2. # Unix only.  See the ReadMe for instructions on installing/
  3. # compiling on an Amiga.
  4.  
  5. # Replace LIBDIR with a period to put libmb.a in the current directory,
  6. # or make it /usr/lib/ or wherever it is you'd like your new library.
  7.  
  8. LIBDIR = .
  9.  
  10. all:    libmb.a        build        sample        enctest
  11. build:    build.c        stdinc.h
  12.     cc -o build -O build.c
  13. libmb.a:    mbase.c        stdinc.h    mbase.h
  14.     cc -c -O mbase.c
  15.     ar r ${LIBDIR}/libmb.a mbase.o
  16.     ranlib ${LIBDIR}/libmb.a
  17. sample:    stdinc.h    mbase.h        sample.c      libmb.a
  18.     cc -L ${LIBDIR} -o sample sample.c -lmb
  19. enctest:    enctest.c
  20.     cc -o enctest enctest.c
  21.