home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume6 / newscnt / Makefile next >
Makefile  |  1986-11-30  |  436b  |  16 lines

  1. ##  If on a BSD system, enable the next line.  Also, make arrangements to
  2. ##  get strtok(3) pulled in somehow.
  3. #BSD    = -DBSD
  4.  
  5. ##  If you want getopt, enable this line:
  6. GETOPT    = -DUSE_GETOPT
  7. ##  You may have to have something like this line, if getopt isn't in libc.a
  8. #GETOBJ    = -lgetopt
  9. ##  If no getopt, enable this line:
  10. #SCAN    = scanargs.o
  11.  
  12. CFLAGS=$(BSD) $(GETOPT)
  13.  
  14. newscnt: newscnt.o $(SCAN)
  15.     cc -o newscnt newscnt.o $(SCAN) $(GETOBJ)
  16.