Trailing-Edge
-
PDP-10 Archives
-
SRI_NIC_PERM_FS_1_19910112
-
c/user/make/makefile.vms
There are no other files named makefile.vms in the archive.
# Makefile for public-domain MAKE utility
# [12-Mar-87]
#=======================================================================
# System dependencies lie between the two === lines
#
# Host name: one of EON, KCC_20, MSC, OS9, UNIX or VMS
HOST = VMS
# Make's own name (usually make, except on Unix, where it should be something else)
MAKE = make
# C compiler name:
CC = cc
CFLAGS = /DEFINE=($(HOST))
LIBS = PLT:UNIXCLIB/LIB,SYS$$LIBRARY:VAXCRTL/LIB
# Source, object, and executable file extension:
C = .c
O = .obj
E = .exe
# Lint flags
LINTFLAGS = -abchnpux -D$(HOST)
#=======================================================================
# Dependencies and rules
CFILES = check$(C) input$(C) macro$(C) main$(C) \
make$(C) reader$(C) rules$(C)
NAMELIST= check,input,macro,main,make,reader,rules
NAMES = check input macro main make reader rules
OBJS = check$(O) input$(O) macro$(O) main$(O) \
make$(O) reader$(O) rules$(O)
$(MAKE)$(E): $(OBJS)
LINK /EXEC=$(MAKE)$(E) $(NAMELIST),$(LIBS)
$(OBJS): h.h
lint:
lint $(LINTFLAGS) $(CFILES) > lint.lst