NetBSD/usr.bin/make/Makefile.dist
glass 6cbb2d4ece some compatibility fixes to ease bootstrapping:
Makefile.dist is now a decent Makefile and not one of these cc *.c disasters
RANLIBMAG now defaults if not otherwise defined
1993-05-27 16:53:49 +00:00

22 lines
509 B
Makefile

# a very simple makefile...
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