Line | |
---|
1 | # VMS MMS makefile
|
---|
2 | #
|
---|
3 | # In the link you will get a warning because of the multiple definition
|
---|
4 | # of exit(). This may be ignored; in order to get MMS completing without
|
---|
5 | # trouble you will have to call MMS as follows:
|
---|
6 | # $ MMS/IGNORE
|
---|
7 | #
|
---|
8 | .ifdef DEBUG
|
---|
9 | CFLAGS=/INCLUDE=(SYS$DISK:[],SYS$SHARE:)/noopt/debug
|
---|
10 | LFLAGS=/debug
|
---|
11 | .else
|
---|
12 | CFLAGS=/INCLUDE=(SYS$DISK:[],SYS$SHARE:)
|
---|
13 | LFLAGS=
|
---|
14 | .endif
|
---|
15 |
|
---|
16 | OBJS = draw.obj, \
|
---|
17 | edit.obj, \
|
---|
18 | jgraph.obj, \
|
---|
19 | list.obj, \
|
---|
20 | printline.obj, \
|
---|
21 | prio_list.obj, \
|
---|
22 | process.obj, \
|
---|
23 | show.obj, \
|
---|
24 | token.obj, \
|
---|
25 | exit.obj
|
---|
26 |
|
---|
27 | all : jgraph.exe
|
---|
28 | ! done
|
---|
29 |
|
---|
30 | # Do not link against the shareable image VAXCRTL.EXE, or you will
|
---|
31 | # miss the reference to the local exit() routine.
|
---|
32 | # EXIT will be reported as being multiply defined - ignore that.
|
---|
33 | jgraph.exe : $(OBJS)
|
---|
34 | link $(LFLAGS) /exe=jgraph $(OBJS),sys$library:vaxcrtl/libr
|
---|
35 |
|
---|
36 | ###
|
---|
37 | draw.obj : draw.c jgraph.h list.h prio_list.h
|
---|
38 | edit.obj : edit.c jgraph.h list.h prio_list.h
|
---|
39 | jgraph.obj : jgraph.c jgraph.h list.h prio_list.h
|
---|
40 | list.obj : list.c list.h
|
---|
41 | printline.obj : printline.c jgraph.h list.h prio_list.h
|
---|
42 | prio_list.obj : prio_list.c list.h prio_list.h
|
---|
43 | process.obj : process.c jgraph.h list.h prio_list.h
|
---|
44 | show.obj : show.c jgraph.h list.h prio_list.h
|
---|
45 | token.obj : token.c list.h
|
---|
46 | exit.obj : exit.c
|
---|
Note:
See
TracBrowser
for help on using the repository browser.