Makefile revision 1.4
1#	$NetBSD: Makefile,v 1.4 1996/09/09 18:07:40 mycroft Exp $
2
3CPPFLAGS=	${APMCPPFLAGS}
4
5SRCS=	biostramp.S
6OBJS=	biostramp.o
7DEPS=	${APMDEPS}
8
9biostramp.inc: biostramp Makefile
10	sh ${.CURDIR}/bin2asm.sh biostramp > biostramp.inc
11
12biostramp: ${OBJS} ${DEPS}
13	${LD} -Bstatic -N -T 0 -o biostramp $(OBJS)
14	cp biostramp biostramp.sym
15	@${STRIP} biostramp
16	@if [ `${LS} -l biostramp |awk '{print $$5}'` -gt 4096 ]; then \
17		echo "biostramp too big"; \
18		exit 1; \
19	fi
20	@sh ${.CURDIR}/rmaouthdr biostramp biostramp.tmp
21	@mv -f biostramp.tmp biostramp
22
23clean:
24	rm -f *.o biostramp biostramp.sym biostramp.inc
25
26.include <bsd.dep.mk>
27.include <bsd.subdir.mk>
28#.include <bsd.prog.mk>
29