1 # $NetBSD: Makefile,v 1.5 2024/05/07 21:11:24 riastradh Exp $ 2 3 .include <bsd.own.mk> 4 .include <bsd.host.mk> # for HOST_SH 5 6 M060SP= ${NETBSDSRCDIR}/sys/arch/m68k/060sp 7 ASM2GAS= ${M060SP}/asm2gas 8 FPLSP_SA= ${M060SP}/dist/fplsp.sa 9 10 all: fplsp.hex fplsp_wrap.S 11 12 fplsp_wrap.S Makefile.list: makeas.sh 13 ${HOST_SH} makeas.sh 14 15 fplsp.hex: ${FPLSP_SA} ${ASM2GAS} makeoffs.awk 16 ${HOST_SH} ${ASM2GAS} ${FPLSP_SA} | awk -f makeoffs.awk > fplsp.hex 17 18 .if exists(Makefile.list) 19 .include "Makefile.list" 20 .endif 21 22 clean: 23 -rm ${ARCH_SRCS} ${ARCH_ADDS} fplsp.hex Makefile.list 24