# # makefile for compiler driver, g++ startup files on VMS and vms-collect. # CC = gcc CFLAGS = /debug OBJS = gxx-startup-1.obj, gxx-startup-2.obj COLLECT = vms-collect.exe DRIVER = gxx.exe LIB = gxxlib.olb LIBDIR = gnu_cc:[000000] BINDIR = gnu_cc:[000000] all: $(LIB) $(COLLECT) $(DRIVER) $(LIB): $(OBJS) library/create $@ $(OBJS) $(COLLECT): vms-collect.obj link/exe=$@ vms-collect, vaxcrtl/opt $(DRIVER): gxx.obj link/exe=$@ gxx, vaxcrtl/opt install: $(LIB) $(COLLECT) $(DRIVER) copy $(LIB) $(LIBDIR); \ purge $(LIBDIR)$(LIB); \ copy $(COLLECT) $(BINDIR); \ purge $(BINDIR)$(COLLECT) \ copy $(DRIVER) $(BINDIR); \ purge $(BINDIR)$(DRIVER)