home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume11 / monthtool / Makefile next >
Encoding:
Makefile  |  1987-10-03  |  678 b   |  24 lines

  1. SRCDIR        = /system/util/monthtool
  2. INSTALLDIR    = /usr/local/bin
  3. MANDIR        = /usr/local/man/man1
  4. LIBS          = -lm -lsuntool -lsunwindow -lpixrect
  5. CFLAGS        = -O
  6. PROG          = monthtool 
  7. MAN           = monthtool.1
  8.  
  9. monthtool:      monthtool.font monthtool.o
  10.                         cc -o $(PROG) monthtool.o $(LIBS)
  11.  
  12. monthtool.o:    monthtool.c monthtool.h 
  13.                         cc $(CFLAGS) -DFONTDIR="\"$(SRCDIR)\"" -c monthtool.c
  14.  
  15. monthtool.font: monthtool.font.uu 
  16.                         uudecode monthtool.font.uu
  17.  
  18. install:        $(PROG) $(MAN)
  19.                         install -s -m 555 $(PROG) $(INSTALLDIR)
  20.                         install -c -m 644 monthtool.1 $(MANDIR)
  21.  
  22. clean:    
  23.                         rm -f monthtool.o $(PROG) core monthtool.font.uu
  24.