Makefile revision 1.2
1# Makefile,v 1.6 1993/09/10 23:32:17 jtc Exp 2 3ARCH?=${MACHINE} 4 5.if exists (${.CURDIR}/${MACHINE}/Makefile.inc) 6.PATH: ${.CURDIR}/${MACHINE} 7.include "${.CURDIR}/${MACHINE}/Makefile.inc" 8AINC+= -I${.CURDIR}/${MACHINE} 9.endif 10 11.if defined(ARCH) && !empty(ARCH) 12.if exists (${.CURDIR}/${ARCH}/Makefile.inc) 13.PATH: ${.CURDIR}/${ARCH} 14.include "${.CURDIR}/${ARCH}/Makefile.inc" 15AINC+= -I${.CURDIR}/${ARCH} 16.endif 17.endif 18 19OBJS+= ${ASM} 20POBJS+= ${ASM:.o=.po} 21CLEANFILES+= ${ASM} ${POBJS} 22 23.if exists (${.CURDIR}/${ARCH}) 24LIB= ${ARCH} 25 26.include <bsd.lib.mk> 27.else 28all: 29.endif 30