home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume7 / getoptprog / Makefile < prev    next >
Encoding:
Makefile  |  1986-11-30  |  348 b   |  16 lines

  1. # Pick one
  2. CFLAGS    = -O -DINDEX=index
  3. #CFLAGS    = -O -DINDEX=strchr
  4. # Pick one
  5. M    = /usr/man/man1/getopt.1
  6. #M    = /usr/man/u_man/man1/getopt.1#  Is this path right?
  7. # Where executable ends up; don't forget the trailing /
  8. D    = /bin/
  9.  
  10. getopt:        getopt.c
  11.     $(CC) $(CFLAGS) -o getopt getopt.c
  12. install:    getopt
  13.     cp getopt $Dgetopt
  14.     strip $Dgetopt
  15.     cp getopt.1 $M
  16.