home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / c-kermit / ckisas.mak < prev    next >
Makefile  |  2020-01-01  |  2KB  |  74 lines

  1. # CKIKER.SMK, Version 6A
  2. #
  3. # This is a makefile for C Kermit using SAS/C for AmigaDOS  V6.xx.
  4. # The lint line is for Gimpel Lint, a commercial product.
  5.  
  6. # If NOHELP and NODIAL are not defined, you will need DATA=F.
  7. #
  8. # Do NOT define PARSENSE, as the required code is too ugly to copy
  9. # from ckutio.c to ckitio.c
  10.  
  11. CONFIG = DEF=NODEBUG DEF=NOHEBREW DEF=NOCYRIL STRMER \
  12.     STRSECT=FAR DEF=NOOLDMODEMS DATA=FAR CODE=FAR
  13.  
  14. # The following options are NOT meant to be changed!
  15.  
  16. OPTS = $(CONFIG) DEF=AMIGA DEF=DYNAMIC DEF=CK_ANSILIBS DEF=CK_ANSIC \
  17.        DEF=MYCURSES DEF=SIG_V DEF=_NUMSIG=_NSIG \
  18.        DEF=CK_TTGWSIZ DEF=CK_TMPDIR DEF=TMPDIRLEN=256
  19.  
  20. CFLAGS = $(OPTS) # OPT OPTTIME
  21.  
  22. # Since Gimpel Lint uses Unix style define command line options, we
  23. # need the below.  Make sure it stays in sync with the CONFIG and OPTS
  24. # lines above!
  25.  
  26. LINTFLAGS =  -DAMIGA -DDYNAMIC -DCK_ANSILIBS -DCK_ANSIC \
  27.     -DMYCURSES -D_NUMSIG=_NSIG -DSIG_V -DCK_TTGWSIZ \
  28.     -DCK_TMPDIR -DTMPDIRLEN=256
  29.  
  30. #
  31. # Note the ckuxla.c in the lists belw.  I have not yet written an
  32. # Amiga-specific version of ckuxla.c.  Also, copy ckuxla.h onto a
  33. # new file, ckixla.h.
  34. #
  35.  
  36. #
  37. #  All the object files needed to compile C Kermit.
  38. #
  39.  
  40. OBJS = ckcmai.o ckucmd.o ckuusr.o ckuus2.o ckuus3.o ckuus4.o ckuus5.o \
  41.                  ckuus6.o ckuus7.o ckuusx.o ckuusy.o ckudia.o ckuscr.o \
  42.          ckcpro.o ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o ckicon.o \
  43.          ckitio.o ckifio.o ckiutl.o \
  44.          ckusig.o
  45.  
  46. #
  47. # The corresponding sources, used mainly to run lint.
  48. #
  49.  
  50. SRCS = ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
  51.          ckuus6.c ckuus7.c ckuusx.c ckuusy.c ckudia.c ckuscr.c \
  52.          ckcpro.c ckcfns.c ckcfn2.c ckcfn3.c ckuxla.c ckicon.c \
  53.          ckitio.c ckifio.c ckiutl.c ckcmdb.c
  54.  
  55. .c.o:
  56.     sc $(CFLAGS) NOLINK $<
  57.  
  58. kermit:    $(OBJS)
  59.     sc $(CFLAGS) $(OBJS) LINK programname=kermit
  60.  
  61. ckcpro.c: ckcpro.w wart
  62.     wart ckcpro.w ckcpro.c
  63.  
  64. ckcpro.o: ckcpro.c
  65.  
  66. wart: ckwart.o
  67.     sc ckwart.o link programname=wart
  68.  
  69. clean:
  70.     -delete $(OBJS) kermit wermit wart
  71.  
  72. lint: $(SRCS)
  73.     lint $(LINTFLAGS) $(SRCS)
  74.