home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / ils / Makefile < prev    next >
Encoding:
Makefile  |  1992-02-28  |  524 b   |  35 lines

  1. # Makefile for ils
  2. #
  3. CFLAGS = -D$(SYSTEM) -DNODEBUG -g
  4. # for SYSTEM, make it SYSTEMV for System V  and BSD for Berkely.
  5. SYSTEM = SYSTEMV
  6.  
  7. CC = cc
  8.  
  9. SRCS = main.c ils.c parse.c get.c input.c wildmat.c ils.h get.h
  10.  
  11. MANIFEST = Makefile README $(SRCS)
  12.  
  13. OBJS = main.o ils.o parse.o get.o input.o wildmat.o
  14.  
  15. all: ils
  16.  
  17. clean:
  18.     rm -f *.o
  19.     rm -f ils
  20.  
  21. ils:    $(OBJS)
  22.     $(CC) $(OBJS) -o ils -lcurses -ltermcap
  23.  
  24. main.o:        main.c ils.h
  25.  
  26. ils.o:        ils.c ils.h
  27.  
  28. parse.o:    parse.c
  29.  
  30. get.o:        get.c get.h
  31.  
  32. input.o:    input.c ils.h
  33.  
  34. wildmat.o:    wildmat.c
  35.