staden-lg/src/Misc/makefile-dec

54 lines
597 B
Plaintext

#
# Makefile for Miscellaneous routines - DEC Ultrix (mips) version
#
#
# Objects made by this makefile
#
LIBS = misc.a
#
# Where the wild things are
#
SRC = .
INCLUDES = -I$(SRC)
#
# DEC Version
#
CC = c89
CFLAGS = -g -std -w0 -DNOSTRDUP $(INCLUDES)
#
# Objects
#
OBJS = \
crash.o \
date.o \
filenames.o \
files.o \
find.o \
shell.o \
strings.o
#
# Main dependency
#
$(LIBS) : $(OBJS)
/bin/rm -f $(LIBS) ;\
$(AR) $(ARFLAGS) $(LIBS) $(OBJS) ;\
ranlib $(LIBS)
#
# Special dependencies
#
%.o : $(SRC)/%.c
$(CC) $(CFLAGS) -c $<
all : $(LIBS)
clean :
/bin/rm -f $(OBJS) $(LIBS)