|
|
1.1 root 1: ###########################################################################
2: # This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE #
3: # is provided to you without charge, and with no warranty. You may give #
4: # away copies of JOVE, including sources, provided that this notice is #
5: # included in all the files. #
6: ###########################################################################
7:
8: MEM = L # M for medium or L for large
9: DEB = -Gs -Ot # use -Zi and MEM = M for debugging
10: #
11: # define LINT_ARGS to use function prototypes
12: #
13: CFLAGS = -A$(MEM) -J -Zp $(DEB) -DIBMPC
14: LIB = C:\C\LIB
15: #
16: # linker flags: for debugging use /NOE/NOI/F/B/PAC/CO/STACK:0x2000
17: #
18: LDFLAGS = /NOE/NOI/MAP/F/B/E/PAC/STACK:0x2000
19: #
20: # set VPATH as below if you have sources in SRC
21: #
22: SRC = .
23: # VPATH = .;.. # should read .;$(SRC) - but doesn't work
24:
25: OBJECTS = keymaps.obj funcdefs.obj abbrev.obj ask.obj buf.obj c.obj \
26: case.obj ctype.obj delete.obj extend.obj argcount.obj \
27: insert.obj io.obj jove.obj macros.obj marks.obj misc.obj move.obj \
28: paragrap.obj proc.obj re.obj re1.obj scandir.obj \
29: table.obj tune.obj util.obj vars.obj wind.obj \
30: fmt.obj disp.obj term.obj version.obj fp.obj screen.obj getch.obj
31:
32: HEADERS = ctype.h io.h jove.h re.h table.h temp.h termcap.h tune.h externs.h
33:
34: jove.exe: $(OBJECTS) $(HEADERS)
35: link $(OBJECTS) $(LIB)\setargv,jove $(LDFLAGS);
36:
37: $(OBJECTS): $(HEADERS)
38:
39: setmaps.exe: setmaps.obj funcdefs.c
40: cl setmaps.obj
41:
42: setmaps.obj: funcdefs.c keymaps.txt
43: cl $(CFLAGS) $(SRC)\setmaps.c
44:
45: keymaps.c: setmaps.exe keymaps.txt
46: setmaps < keymaps.txt > keymaps.c
47:
48: keymaps.obj: keymaps.c jove.h
49: $(CC) $(CFLAGS) -I$(SRC) -c keymaps.c
50:
51: # to avoid accidental loss under unix
52: tune.c: tune.dos
53: copy tune.dos tune.c
54:
55: tune.obj: tune.c
56: $(CC) $(CFLAGS) -I$(SRC) -c tune.c
57:
58: clean:
59: -rm *.obj setmaps.exe keymaps.c *.bak *.map
60:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.