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 9CFLAGS=/INCLUDE=(SYS$DISK:[],SYS$SHARE:)/noopt/debug 10LFLAGS=/debug 11.else 12CFLAGS=/INCLUDE=(SYS$DISK:[],SYS$SHARE:) 13LFLAGS= 14.endif 15 16OBJS = 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 27all : 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. 33jgraph.exe : $(OBJS) 34 link $(LFLAGS) /exe=jgraph $(OBJS),sys$library:vaxcrtl/libr 35 36### 37draw.obj : draw.c jgraph.h list.h prio_list.h 38edit.obj : edit.c jgraph.h list.h prio_list.h 39jgraph.obj : jgraph.c jgraph.h list.h prio_list.h 40list.obj : list.c list.h 41printline.obj : printline.c jgraph.h list.h prio_list.h 42prio_list.obj : prio_list.c list.h prio_list.h 43process.obj : process.c jgraph.h list.h prio_list.h 44show.obj : show.c jgraph.h list.h prio_list.h 45token.obj : token.c list.h 46exit.obj : exit.c 47