home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume10 / cbw / part01 / Makefile < prev    next >
Encoding:
Makefile  |  1987-06-16  |  1.5 KB  |  69 lines

  1. CFLAGS = -g
  2.  
  3. # Object files for for the workbench.
  4. cbreq =    pword.o lpair.o approx.o \
  5.         eclass.o cipher.o char-io.o \
  6.         tritab.o autotri.o pqueue.o \
  7.         webster.o user.o gblock.o dblock.o dbsaux.o banner.o \
  8.         cblocks.o stats.o parser.o knit.o \
  9.         pgate.o perm.o terminal.o \
  10.         keylib.o windowlib.o dline.o screen.o 
  11.  
  12. # The main program.
  13. cbw: start.o $(cbreq) 
  14.     cc $(CFLAGS) start.o $(cbreq) \
  15.     -lcurses -ltermcap -lm -o cbw
  16.  
  17. # Program to decrypt files after they have been broken by CBW.
  18. zeecode: zeecode.o
  19.     cc $(CFLAGS) zeecode.o -o zeecode
  20.  
  21. # Program to encrypt files, this is identical to the
  22. # Unix crypt function based on a two rotor enigma.
  23. enigma: enigma.o
  24.     cc $(CFLAGS) enigma.o -o enigma
  25.  
  26. #
  27. # The remaining files are test drivers.
  28. #
  29.  
  30. bd: bdriver.o $(cbreq)
  31.     cc -g bdriver.o $(cbreq) -lm \
  32.     -lcurses -ltermcap -lm -o bd
  33.  
  34. sd: sdriver.o $(cbreq)
  35.     cc -g sdriver.o $(cbreq) \
  36.     -lcurses -ltermcap -lm -o sd
  37.  
  38. approx: approx.o
  39.     cc -g approx.o -lm -o approx
  40.  
  41. stats: stats.o char-io.o
  42.     cc -g stats.o char-io.o -lm -o stats
  43.  
  44. tri: tdriver.o $(cbreq)
  45.     cc -g tdriver.o $(cbreq) -lm \
  46.     -lcurses -ltermcap -lm -o tri
  47.  
  48. ectreq = edriver.o eclass.o cipher.o char-io.o \
  49.         triglist.o \
  50.         webster.o user.o gblock.o dblock.o dbsaux.o banner.o \
  51.         cblocks.o trigram.o stats.o parser.o knit.o \
  52.         pgate.o perm.o \
  53.         keylib.o windowlib.o dline.o screen.o 
  54.  
  55.  
  56. ect: $(ectreq)
  57.     cc -g $(ectreq) -lm \
  58.     -o ect
  59.  
  60. ptt: char-io.o probtab.o
  61.     cc -g char-io.o probtab.o -lm -o ptt
  62.  
  63. dt: disptest.o keylib.o windowlib.o screen.o
  64.     cc disptest.o keylib.o windowlib.o screen.o -o dt
  65.  
  66. triplace: triplace.o
  67.  
  68.  
  69.