NetBSD/usr.bin/make/Makefile.dist

22 lines
542 B
Makefile

# $Id: Makefile.dist,v 1.3 1993/08/02 17:54:53 mycroft Exp $
CFLAGS = -I. -DMACHINE=\"sun3\"
MAKESRC = arch.c buf.c compat.c cond.c dir.c hash.c job.c main.c make.c \
parse.c str.c suff.c targ.c var.c
MAKEOBJS = arch.o buf.o compat.o cond.o dir.o hash.o job.o main.o make.o \
parse.o str.o suff.o targ.o var.o
all: make
lst.lib/liblst.a:
cd lst.lib ; make -f Makefile.dist
make: $(MAKEOBJS) lst.lib/liblst.a
$(CC) -o make $(MAKEOBJS) lst.lib/liblst.a
clean:
rm -f $(MAKEOBJS) make
cd lst.lib ; make -f Makefile.dist clean