! ! Redefined and new rules ! .SUFFIXES .SUFFIXES .EXE .OBJ .LIS .C .C.LIS : $(CC) $(CLIST) $(MMS$SOURCE) .OBJ.EXE : $(LINK) $(LINKLAGS) $(MMS$SOURCE), SYS$LIBRARY:VAXCRTL/OPTIONS ! ! Macros, new and redefined ! CLIST = /LIST=$(MMS$TARGET_NAME) /SHOW=SYMBOLS /NOOBJECT .IFDEF DEBUG CFLAGS = /DEBUG /NOOPTIMIZE /OBJECT=$(MMS$TARGET_NAME) LINKFLAGS = /DEBUG /NOMAP /EXECUTABLE=$(MMS$TARGET_NAME) .ELSE LINKFLAGS = /NOTRACEBACK /NOMAP /EXECUTABLE=$(MMS$TARGET_NAME) .ENDIF ! ! Descriptions to build .EXE files ! BUILD_ALL : DETAB.EXE, ENTAB.EXE, FORTDETAB.EXE, FORTENTAB.EXE DIRECTORY *.EXE DETAB.EXE : DETAB.OBJ DETAB.OBJ : DETAB.C ENTAB.EXE : ENTAB.OBJ ENTAB.OBJ : ENTAB.C FORTDETAB.EXE : FORTDETAB.OBJ FORTDETAB.OBJ : FORTDETAB.C FORTENTAB.EXE : FORTENTAB.OBJ FORTENTAB.OBJ : FORTENTAB.C .LAST : @ PURGE ! ! Make listing files ! LISTINGS : ENTAB.LIS, DETAB.LIS, FORTENTAB.LIS, FORTDETAB.LIS @ DIRECTORY /SIZE *.LIS DETAB.LIS : DETAB.C ENTAB.LIS : ENTAB.C FORTDETAB.LIS : FORTDETAB.C FORTENTAB.LIS : FORTENTAB.C ! ! Cleanup object files ! CLEANUP : - DELETE *.OBJ;*,*.LIS;*