1
0
Files
irix-657m-src/stand/arcs/IP28prom/Makerules
2022-09-29 17:59:04 +03:00

27 lines
772 B
Plaintext

#
# IP30prom Makerules
# - This file is a wrapper which extends the standalone tree's commonrules
# with rules peculiar to saio.
# - The .d extension is used for object files for the download/debug
# test prom
#
# DOBJECTS must be in this order to get loaded properly
DOBJECTS= ${ASFILES:.s=.d} ${CFILES:.c=.d}
DDEFINES=-DENETBOOT
.SUFFIXES: .d .g
.c.o:
@if test ! -d ${TARGETDIR}; then mkdir ${TARGETDIR}; fi
$(CCF) $< -c -o $(TARGETDIR)/$@
.s.o:
@if test ! -d ${TARGETDIR}; then mkdir ${TARGETDIR}; fi
$(ASF) $< -c -o $(TARGETDIR)/$@
.c.d:
@if test ! -d ${TARGETDIR}; then mkdir ${TARGETDIR}; fi
$(CCF) ${DDEFINES} $< -c -o $(TARGETDIR)/$@
.s.d:
@if test ! -d ${TARGETDIR}; then mkdir ${TARGETDIR}; fi
$(ASF) ${DDEFINES} $< -c -o $(TARGETDIR)/$@