home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / LharcUUCP1_0.lha / LharcUUCP / source / smakefile < prev    next >
Encoding:
Makefile  |  1994-04-06  |  1.7 KB  |  92 lines

  1. #
  2. # smakefile for LharcUUCP
  3. #
  4. # created by Peter Simons <simons@peti.GUN.de>
  5. #
  6.  
  7. #
  8. # Labels:
  9. # =======
  10. #
  11. CC       = sc
  12. MAKEINFO = makeinfo
  13. OBJS     = LharcUUCP.o ScanDir.o SupportRoutines.o SystemDep.o
  14.  
  15.  
  16. # Compiler flags:
  17. # ===============
  18. #
  19. CFLAGS  = PARAMETERS=REGS STRINGMERGE DEBUG=FF DEFINE=AMIGA
  20. #          NOSTKCHK OPTIMIZE OPTIMIZERINLINELOCAL OPTIMIZERSIZE \
  21. #          OPTIMIZERCOMPLEXITY=5 OPTIMIZERDEPTH=5 OPTIMIZERRECURDEPTH=5 \
  22.  
  23.  
  24. # Linker flags:
  25. # =============
  26. #
  27. LFLAGS  =
  28.  
  29.  
  30. # Info flags:
  31. # ===========
  32. #
  33. IFLAGS  = +fill-column 77
  34.  
  35.  
  36. #
  37. # Targets
  38. #
  39. all:            LharcUUCP LharcUUCP.guide
  40.         # default target
  41.  
  42. text:           LharcUUCP.doc
  43.  
  44. install:        LharcUUCP
  45.         Copy LharcUUCP UUCPC: CLONE
  46.  
  47. clear:
  48.         Delete \#?.o \#?.lnk \#?.guide \#?.doc
  49.  
  50. bump:
  51.         SetEnv rev `Type LharcUUCP_rev.rev`
  52.         Echo >>History "*n*n"
  53.         Echo >>History "v0.$$rev:                  " NOLINE
  54.         Date >>History
  55.         MakeLogEntry \#?.c v0_$$rev
  56.         UnSetEnv rev
  57.         bumprev 0 LharcUUCP
  58.         @Delete LharcUUCP_rev.i QUIET
  59.  
  60. genproto:
  61.         Delete protos.h
  62.         sc \#?.c GENPROTO NOGPTDEF $(CFLAGS) GST LIB:Includes.gst
  63.         Type \#?_protos.h >protos.h
  64.         Delete \#?_protos.h
  65.  
  66.  
  67. #
  68. # Actions
  69. #
  70. .c.o:
  71.         $(CC) $(CFLAGS) $*.c GST LIB:Includes.gst
  72.  
  73. .texinfo.guide:
  74.         $(MAKEINFO) +amiga-39 $(IFLAGS) $*.texinfo -o $*.guide
  75.  
  76. .texinfo.doc:
  77.         $(MAKEINFO) +no-headers $(IFLAGS) $*.texinfo -o $*.doc
  78.  
  79. LharcUUCP:      $(OBJS)
  80.         $(CC) $(OBJS) TO LharcUUCP $(LFLAGS) LINK
  81.         @Delete LharcUUCP.lnk QUIET
  82.  
  83.  
  84. #
  85. # Dependencies
  86. #
  87. SupportRoutines.o: SupportRoutines.c protos.h
  88. ScanDir.o: ScanDir.c
  89. LharcUUCP.o: LharcUUCP.c protos.h LharcUUCP_rev.h
  90. SystemDep.o: SystemDep.c protos.h
  91.  
  92.