home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume6 / lookup.c++ / Makefile < prev    next >
Encoding:
Makefile  |  1989-03-04  |  419 b   |  20 lines

  1. CC = CC -c -I/usr/include/CC
  2. LD = CC
  3.  
  4. .c.o:
  5.     $(CC) $(CFLAGS) $<
  6.  
  7. # lookup2 does a linear search -- good for unsorted table
  8. # lookup  does a binary search -- good for a sorted table
  9. OBJ = test.o lookup2.o testcmd.o testhelp.o
  10. #OBJ = test.o lookup.o testcmd.o testhelp.o
  11. TARG = tt
  12.  
  13. $(TARG): $(OBJ)
  14.     $(LD) -o $(TARG) $(OBJ) $(LDFLAGS)
  15.     @strip $(TARG)
  16.  
  17. lookup.o lookup2.o : lookup.h
  18. test.o : lookup.h
  19. testhelp.o : lookup.h
  20.