home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d8xx / d832 / term.lha / Term / term-3.1-Source.lha / SMakefile < prev    next >
Makefile  |  1993-02-20  |  3KB  |  83 lines

  1. ###############################################################################
  2. #
  3. # SMakefile
  4. #
  5. # Makefile for the `SMake' utility required to build `term'
  6. #
  7. # Copyright © 1990-1992 by Olaf `Olsen' Barthel & MXM
  8. #    All Rights Reserved
  9. #
  10. ###############################################################################
  11.  
  12. .c.o:
  13.     SC $(CFLAGS) $(GST) $(OPTIONS) OBJNAME=$*.o $*.c
  14.  
  15. .c.oo:
  16.     SC $(CFLAGS) $(GST) $(OPTIONS) $(OPTIMIZE) OBJNAME=$*.oo $*.c
  17.  
  18. .asm.o:
  19.     ASM -IASM: $*.asm
  20.  
  21. MACHINE        = ANY
  22.  
  23. OPTIMIZE    = OPTIMIZE OPTINLOCAL OPTTIME
  24.  
  25. AREXXFLAGS    = DEFINE=USE_AREXX
  26. AREXXOBJS    = termARexx.oo termARexxAttributes.oo termARexxCommands.oo termARexxData.o
  27.  
  28. OPTIONS        = CPU=$(MACHINE) UTILLIB $(AREXXFLAGS)
  29.  
  30. GST        = GSTIMM GST=term.gst
  31.  
  32. CFLAGS        = MCCONS STREQ STRMERGE NOSTKCHK IDLEN=65
  33. LFLAGS        = SC SD ND DEFINE __CXM33=__UCXM33 DEFINE __CXD33=__UCXD33 \
  34.           DEFINE __CXM22=__UCXM22 DEFINE __CXD22=__UCXD22
  35.  
  36. LIBS        = LIB:amiga.lib LIB:sc.lib LIB:debug.lib
  37.  
  38. OBJS        = Start.o QuickSort.o CapturePanel.o ClipPanel.o CommandPanel.o \
  39.           CopyPanel.o CursorPanel.o DatePanel.o DayPanel.o EmulationPanel.o \
  40.           FastMacroPanel.o HotkeyPanel.o ImportPanel.o MacroPanel.o MiscPanel.o \
  41.           ModemPanel.o PasswordUserPanel.o PathPanel.o PhonePanel.o PrintPanel.o \
  42.           RatePanel.o ScreenPanel.o SerialPanel.o SpeechPanel.o TerminalPanel.o \
  43.           TimePanel.o TransferPanel.o TranslationPanel.o UploadPanel.o termAmigaGuide.o \
  44.           termAudio.o termAux.o termBuffer.oo termCall.o termCapture.oo \
  45.           termClip.oo termConfig.o termConsole.oo termCRC.o termCrypt.oo \
  46.           termData.o termDial.o termEmulation.oo termFastMacros.o termFileBuffer.oo \
  47.           termGadTools.o termHotkeys.o termIdentify.o termInfo.o termInit.o \
  48.           termKludge.oo termLists.oo termLocale.o termMain.o termResponse.oo \
  49.           termMarker.o termMisc.o termOldConfig.o termPacket.o termPhone.o \
  50.           termPrint.o termRaster.oo termReviewBuffer.oo termSaveWindow.o termScale.oo \
  51.           termScroll.oo termSerial.oo termSpeech.o termStatusDisplay.o termStatusWindow.o \
  52.           termStringHook.o termStrings.o termTag.o termTextBuffer.oo termTransfer.o \
  53.           termTranslate.oo termXEM.oo termXPR.oo
  54.  
  55. all:        term.gst term
  56.  
  57. termTag.o:    termTag.asm term.i
  58.         ASM -IASM: termTag.asm
  59.  
  60. term:        $(OBJS) $(AREXXOBJS)
  61.         SLINK WITH T:term.WITH <<!(T:term.WITH)
  62.             FROM
  63.             $(OBJS)
  64.             $(AREXXOBJS)
  65.             TO
  66.             $@
  67.             LIB
  68.             $(LIBS)
  69.             $(LFLAGS)
  70.         <
  71.  
  72. term.gst:    PreInclude.c termStrings.h termExtras.h OwnDevUnit.h xproto.h xem.h
  73.         SC NOOBJNAME IDLEN=65 MAKEGST=$@ PreInclude.c
  74.  
  75. termStrings.o:    termStrings.c termStrings.h
  76.         SC $(CFLAGS) termStrings.c
  77.  
  78. termGadTools.o:    termGadTools.c
  79.         SC $(CFLAGS) $(OPTIONS) $(OPTIMIZE) termGadTools.c
  80.  
  81. Start.o:    Start.c
  82.         SC $(CFLAGS) DEFINE=_M$(MACHINE) Start.c
  83.