home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / Classes / HashFile / Makefile < prev    next >
Encoding:
Makefile  |  1991-03-26  |  337 b   |  16 lines

  1. CFLAGS = -g -Wall -O -I .
  2.  
  3. LIBS = -L. -lHashFile -ltext
  4.  
  5. HashFile.o: HashFile.m HashFile.h
  6.     ${CC} ${CFLAGS} -c HashFile.m
  7.     ar crv libHashFile.a HashFile.o
  8.     ranlib libHashFile.a
  9.     
  10. HashExample: libHashFile.a HashExample.m
  11.     ${CC} -o HashExample ${CFLAGS} -DDATABASE='"PhoneWords"' HashExample.m ${LIBS}
  12.     
  13. clean:
  14.     rm -f *.a *.o HashExample
  15.  
  16.