home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / unix / paintps.sha / Makefile < prev    next >
Makefile  |  1986-07-08  |  377b  |  21 lines

  1. SRCS= paintps.c
  2. OBJS= paintps.o
  3. COMMANDS= paintps
  4. CFLAGS= -O
  5. BIN= /usr/local
  6. MAN= /usr/man/manl
  7.  
  8. SPOOLCMD= "maclaser"
  9.  
  10. all: $(COMMANDS)
  11.  
  12. paintps: paintps.c
  13.     $(CC) $(CFLAGS) paintps.c -o paintps '-DSPOOLCMD=$(SPOOLCMD)'
  14.  
  15. install: $(COMMANDS)
  16.     install -s -m 0775 paintps ${DESTDIR}/${BIN}
  17.     install -c -m 0444 paintps.1 ${DESTDIR}/${MAN}
  18.  
  19. clean:
  20.     rm -f *.o a.out core $(COMMANDS)
  21.