$ ! VMS Makefile for Spreadsheet Calculator $ ! $ ! Does all necessary compilations, yacc processing and sed processing, $ ! links SC and defines the symbol "sc" to run the program. $ ! $ ! Sharon E. Perl/15 Oct 1982 $ ! $ ! Notes: "cc" should have already been defined to run the C compiler. $ ! Also, if the unixshell com file isn't in bin:, you'll have to edit $ ! this file to define "u" to point to the correct place. $ ! $ dir := "''f$logical("SYS$DISK")'''f$directory()'" $ create linkshare.opt sys$share:eunice.exe/share,sys$library:libc/library/include=crt0 base=0 $ yacc := $bin:yacc yacc $ u := @bin:unixshell $ yacc -d gram.y $ rename ytab.c gram.c $ cc gram $ delete gram.c.0 $ u sed experres.h -f eres.sed $ u sed statres.h -f sres.sed $ cc sc $ cc lex $ cc interp $ link/map/cross/exe=sc sc,lex,gram,interp,sys$library:libcurses/lib,- sys$library:libtrmlib/lib,'dir'linkshare.opt/opt $ delete linkshare.opt.* $ sc :== $'dir'sc sc