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 >
Wrap
Makefile
|
1998-07-26
|
2KB
|
88 lines
#
# makefile for vile on WIN32 using Borland C++
#
# $Header: /usr/build/vile/vile/RCS/makefile.blc,v 1.9 1998/07/26 11:43:07 Ryan.Murray 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 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 neproto.h nefunc.h nemode.h nename.h nevars.h nefkeys.h nefsms.h
SRC = main.c ntconio.c basic.c bind.c btree.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 undo.c \
version.c w32cbrd.c w32misc.c w32pipe.c \
window.c word.c wordmov.c map.c
OBJ = main.obj ntconio.obj basic.obj bind.obj btree.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 undo.obj \
version.obj w32cbrd.obj w32misc.obj w32pipe.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 : cmdtbl mktbls.exe
mktbls.exe cmdtbl
nevars.h \
nefsms.h \
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
bind.obj: nefunc.h
eval.obj: nevars.h
exec.obj: nefunc.h
externs.obj: nebind.h nename.h neproto.h nefunc.h
filec.obj: dirstuff.h
glob.obj: dirstuff.h
globals.obj: nefunc.h
main.obj: chgdfunc.h nevars.h
modes.obj: chgdfunc.h
opers.obj: nefunc.h
path.obj: dirstuff.h
random.obj: nefunc.h
select.obj: nefunc.h
spawn.obj: nefunc.h
termio.obj: nefunc.h
version.obj: patchlev.h
word.obj: nefunc.h