home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume8 / xgrabsc / part02 / simple.mak < prev   
Encoding:
Makefile  |  1990-08-20  |  938 b   |  39 lines

  1. #=============================================================================
  2. #
  3. # Name - simple.mak
  4. #
  5. # Version:    1.3
  6. #
  7. # ccsid:    @(#)simple.mak    1.3 - 8/20/90 09:55:13
  8. # from:     ccs/s.simple.mak
  9. # date:     8/20/90 09:56:01
  10. #
  11. # Description: make file for xgrabsc.  Use "make -f simple.mak"
  12. #
  13. #=============================================================================
  14.  
  15.  
  16. # change INSTALL_PATH to the directory in which you want xgrabsc installed
  17. INSTALL_PATH    = /usr/bin/X11
  18.  
  19. # change MAN_PATH to point to your man page top directory
  20. MAN_PATH        = /usr/man
  21. # change MAN_EXT to the section for xgrabsc
  22. MAN_EXT         = 1
  23.  
  24. # if you trust your optimizer, change 'g' to 'O'
  25. CFLAGS  = -g
  26.  
  27. xgrabsc:: xgrabsc.o
  28.     rm -f xgrabsc
  29.     $(CC) $(CFLAGS) -o xgrabsc xgrabsc.o -lX11
  30.  
  31. install::
  32.     install -c -s xgrabsc $(INSTALL_PATH)
  33.     install -c -m 644 xgrabsc.man \
  34.         $(MAN_PATH)/man$(MAN_EXT)/xgrabsc.$(MAN_EXT)X
  35.  
  36. clean::
  37.     rm -f core *.o xgrabsc *.log
  38.  
  39.