# # makefile for vile on WIN32 using Borland C++ # # $Header: /usr2/foxharp/src/pgf/vile/RCS/makefile.blc,v 1.1 1995/08/01 13:10:53 pgf Exp $ # # CC = bcc32 CFLAGS = -v -WC -w-par -DWIN32_LEAN_AND_MEAN -Dscrn_chosen LDFLAGS = -v -WC # these are normal editable headers HDRS = estruct.h epath.h edef.h proto.h dirstuff.h # these headers are built by the mktbls program from the information in cmdtbl # and in modetbl BUILTHDRS = nebind.h nefunc.h nemode.h nename.h nevars.h SRC = main.c ntconio.c basic.c bind.c buffer.c crypt.c \ csrch.c display.c eval.c exec.c externs.c \ fences.c file.c filec.c \ fileio.c finderr.c glob.c globals.c history.c \ input.c insert.c itbuff.c isearch.c \ line.c modes.c msgs.c npopen.c oneliner.c opers.c \ path.c random.c regexp.c \ region.c search.c select.c spawn.c \ tags.c tbuff.c termio.c tmp.c undo.c \ version.c vmalloc.c window.c word.c wordmov.c map.c OBJ = main.obj ntconio.obj basic.obj bind.obj buffer.obj crypt.obj \ csrch.obj display.obj eval.obj exec.obj externs.obj \ fences.obj file.obj filec.obj \ fileio.obj finderr.obj glob.obj globals.obj history.obj \ input.obj insert.obj itbuff.obj isearch.obj \ line.obj modes.obj msgs.obj npopen.obj oneliner.obj opers.obj \ path.obj random.obj regexp.obj \ region.obj search.obj select.obj spawn.obj \ tags.obj tbuff.obj termio.obj tmp.obj undo.obj \ version.obj vmalloc.obj window.obj word.obj wordmov.obj map.obj .c.obj: $(CC) $(CFLAGS) -c $< vile.exe: $(BUILTHDRS) $(OBJ) $(CC) $(LDFLAGS) -evile.exe @&&! $(OBJ) ! $(OBJ): estruct.h nebind.h \ nefunc.h \ nename.h \ nevars.h : cmdtbl mktbls.exe mktbls.exe cmdtbl nemode.h: modetbl mktbls.exe mktbls.exe modetbl mktbls.exe: mktbls.c $(CC) $(CFLAGS) mktbls.c clean: del mktbls.exe del *.obj del ne*.h main.obj: nevars.h bind.obj: epath.h filec.obj: dirstuff.h eval.obj: nevars.h glob.obj: dirstuff.h externs.obj: nebind.h nename.h nefunc.h path.obj: dirstuff.h vmalloc.obj: nevars.h version.obj: patchlev.h