home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / remind23.lzh / remind.4 / Makefile < prev    next >
Makefile  |  1991-02-24  |  1KB  |  68 lines

  1. # Makefile for REMIND - simple file
  2.  
  3. #--------------- BEGINNING OF THINGS YOU CAN CHANGE --------------
  4.  
  5. #If you have a BSD system:
  6. CFLAGS= -O -DUNIX
  7.  
  8. #If you have a SYSV system, comment previous line and uncomment next line:
  9. #CFLAGS= -O -DUNIX -DSYSV
  10.  
  11. #If your system does not include <malloc.h>, uncomment next line:
  12. #CFLAGS += -DNO_MALLOC_H
  13.  
  14. #If you have a SYSV system which does not implement the pid_t type,
  15. #uncomment the next line:
  16. #CFLAGS += -Dpid_t=int
  17.  
  18. #If you want to use gcc:
  19. #CC= gcc
  20.  
  21. #Where do you want it installed?
  22. BINDIR= /usr/local/bin
  23. KALLDIR= /usr/share/bin
  24. MANDIR= /usr/share/man
  25. MANSECTION= 1
  26.  
  27. #What program does the installation?
  28. INSTALL= install
  29. #INSTALL= cp
  30.  
  31. #--------------- SHOULDN'T CHANGE STUFF BELOW HERE ---------------
  32.  
  33. all: dorem.o files.o main.o nextdate.o init.o dosubst.o timed.o calendar.o cache.o omits.o
  34.     $(CC) -o remind dorem.o files.o main.o nextdate.o init.o dosubst.o timed.o calendar.o cache.o omits.o
  35.  
  36. dorem.o: dorem.c
  37.  
  38. files.o: files.c
  39.  
  40. main.o:  main.c
  41.  
  42. omits.o: omits.c
  43.  
  44. nextdate.o: nextdate.c
  45.  
  46. init.o: init.c
  47.  
  48. dosubst.o: dosubst.c
  49.  
  50. timed.o: timed.c
  51.  
  52. calendar.o: calendar.c
  53.  
  54. cache.o: cache.c
  55.  
  56. clean:
  57.     rm -f *.o core *~ remind
  58.  
  59. install:
  60.     $(INSTALL) remind $(BINDIR)
  61.  
  62. install.man:
  63.     $(INSTALL) remind.1 $(MANDIR)/man$(MANSECTION)/remind.$(MANSECTION)
  64.  
  65. install.kall:
  66.     $(INSTALL) kall $(KALLDIR)
  67.  
  68.