pdp11v/usr/src/cmd/bs/bs.mk

#	@(#)bs.mk	1.2
TESTDIR = .
FRC =
INS = /etc/install -n /bin
INSDIR =
CFLAGS = -O
FFLAG =
OFILES = atof.o bs.o string.o
IFLAG = -i

all: bs

bs:	$(OFILES)
	$(CC) $(LDFLAGS) $(FFLAG) -s $(IFLAG) -o $(TESTDIR)/bs $(OFILES) -lm 

atof.o:	atof.c $(FRC)
bs.o:	bs.c $(FRC)
string.o: string.c $(FRC)

test:
	bs testall

install: all
	$(INS) $(TESTDIR)/bs $(INSDIR)

clean:
	-rm -f *.o

clobber: clean
	-rm -f $(TESTDIR)/bs

FRC: