home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume7 / nag / part01 / Makefile next >
Encoding:
Makefile  |  1986-11-30  |  619 b   |  41 lines

  1. #
  2. # Makefile for the nag/okok system.
  3. #
  4.  
  5. SHAR1 =        README nag.1 Makefile 
  6. SHAR2 =        $(SRCS)
  7.  
  8. # -DSYS5 for System V, nothing for BSD.
  9. DEFS =        # -DSYS5
  10. OPTDEB =    -O
  11. CFLAGS =    $(DEFS) $(OPTDEB)
  12. OBJS =        gdate.o nag.o
  13. SRCS =        gdate.c nag.c
  14.  
  15. all:        nag okok
  16.  
  17. clean:;        rm -f $(OBJS) nag okok gdate OUT LINT a.out core
  18.  
  19. nag:        $(OBJS)
  20.         cc -g -o nag $(OBJS)
  21.  
  22. okok:        nag
  23.         ln nag okok
  24.  
  25. gdate:        gdate.c
  26.         cc -DDEBUG $(CFLAGS) gdate.c -o gdate
  27.  
  28. lint:        LINT
  29.  
  30. LINT:        $(SRCS)
  31.         lint $(DEFS) $(SRCS) > LINT
  32.  
  33. shar:        nag1.shar nag2.shar
  34.  
  35. nag1.shar:    $(SHAR1)
  36.         shar -a $(SHAR1) > nag1.shar
  37.  
  38. nag2.shar:    $(SHAR2)
  39.         shar -a $(SHAR2) > nag2.shar
  40.  
  41.