don't use OBJS in the dependency line because it is not defined yet.
This commit is contained in:
parent
9b6a2fbeb4
commit
726afedd26
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.4 2000/02/11 16:14:33 hubertf Exp $
|
# $NetBSD: Makefile,v 1.5 2001/01/14 09:22:01 christos Exp $
|
||||||
|
|
||||||
BINDIR= /usr/mdec
|
BINDIR= /usr/mdec
|
||||||
BINMODE=444
|
BINMODE=444
|
||||||
|
@ -17,7 +17,7 @@ LDFLAGS+= -e start
|
||||||
LDFLAGS+= -e _start -N
|
LDFLAGS+= -e _start -N
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
${PROG}: ${OBJS}
|
${PROG}: ${SRCS:S/.S/.o/g}
|
||||||
${LD} -o ${PROG}.tmp ${LDFLAGS} -Ttext 0x600 ${OBJS}
|
${LD} -o ${PROG}.tmp ${LDFLAGS} -Ttext 0x600 ${OBJS}
|
||||||
${STRIP} ${PROG}.tmp
|
${STRIP} ${PROG}.tmp
|
||||||
objcopy -O binary ${PROG}.tmp ${PROG}
|
objcopy -O binary ${PROG}.tmp ${PROG}
|
||||||
|
|
Loading…
Reference in New Issue