home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vile-src.zip / vile-8.1 / makefile.blc < prev    next >
Makefile  |  1998-07-26  |  2KB  |  88 lines

  1. #
  2. # makefile for vile on WIN32 using Borland C++
  3. #
  4. # $Header: /usr/build/vile/vile/RCS/makefile.blc,v 1.9 1998/07/26 11:43:07 Ryan.Murray Exp $
  5. #
  6. #
  7.  
  8. CC = bcc32
  9. CFLAGS = -v -WC -w-par -DWIN32_LEAN_AND_MEAN -Dscrn_chosen
  10. LDFLAGS = -v -WC
  11.  
  12. # these are normal editable headers
  13. HDRS = estruct.h edef.h proto.h dirstuff.h
  14.  
  15. # these headers are built by the mktbls program from the information in cmdtbl
  16. # and in modetbl
  17. BUILTHDRS = nebind.h neproto.h nefunc.h nemode.h nename.h nevars.h nefkeys.h nefsms.h
  18.  
  19. SRC =     main.c ntconio.c basic.c bind.c btree.c buffer.c crypt.c \
  20.     csrch.c display.c eval.c exec.c externs.c \
  21.     fences.c file.c filec.c \
  22.     fileio.c finderr.c glob.c globals.c history.c \
  23.     input.c insert.c itbuff.c isearch.c \
  24.     line.c modes.c msgs.c npopen.c oneliner.c opers.c \
  25.     path.c random.c regexp.c \
  26.     region.c search.c select.c spawn.c \
  27.     tags.c tbuff.c termio.c undo.c \
  28.     version.c w32cbrd.c w32misc.c w32pipe.c \
  29.     window.c word.c wordmov.c map.c
  30.  
  31. OBJ =     main.obj ntconio.obj basic.obj bind.obj btree.obj buffer.obj crypt.obj \
  32.           csrch.obj display.obj eval.obj exec.obj externs.obj \
  33.     fences.obj file.obj filec.obj \
  34.     fileio.obj finderr.obj glob.obj globals.obj history.obj \
  35.     input.obj insert.obj itbuff.obj isearch.obj \
  36.     line.obj modes.obj msgs.obj npopen.obj oneliner.obj opers.obj \
  37.     path.obj random.obj regexp.obj \
  38.     region.obj search.obj select.obj spawn.obj \
  39.     tags.obj tbuff.obj termio.obj undo.obj \
  40.     version.obj w32cbrd.obj w32misc.obj w32pipe.obj \
  41.     window.obj word.obj wordmov.obj map.obj
  42.  
  43. .c.obj:
  44.     $(CC) $(CFLAGS) -c $<
  45.  
  46. vile.exe:     $(BUILTHDRS) $(OBJ)
  47.     $(CC) $(LDFLAGS) -evile.exe @&&!
  48. $(OBJ)
  49. !
  50.  
  51. $(OBJ):    estruct.h
  52.  
  53. nebind.h \
  54. nefunc.h \
  55. nename.h :    cmdtbl mktbls.exe
  56.     mktbls.exe cmdtbl
  57.  
  58. nevars.h \
  59. nefsms.h \
  60. nemode.h:    modetbl mktbls.exe
  61.     mktbls.exe modetbl
  62.  
  63. mktbls.exe:  mktbls.c
  64.     $(CC) $(CFLAGS) mktbls.c
  65.  
  66. clean:
  67.     del mktbls.exe
  68.     del *.obj
  69.     del ne*.h
  70.  
  71. bind.obj:    nefunc.h
  72. eval.obj:    nevars.h
  73. exec.obj:    nefunc.h
  74. externs.obj:    nebind.h nename.h neproto.h nefunc.h
  75. filec.obj:    dirstuff.h
  76. glob.obj:    dirstuff.h
  77. globals.obj:    nefunc.h
  78. main.obj:    chgdfunc.h nevars.h
  79. modes.obj:    chgdfunc.h
  80. opers.obj:    nefunc.h
  81. path.obj:    dirstuff.h
  82. random.obj:    nefunc.h
  83. select.obj:    nefunc.h
  84. spawn.obj:    nefunc.h
  85. termio.obj:    nefunc.h
  86. version.obj:    patchlev.h
  87. word.obj:    nefunc.h
  88.