95cfc25d0d
defining so many extra things in addition to INTERNALLIB. We don't like repetitive C code and we shouldn't for make code either.
21 lines
301 B
Makefile
21 lines
301 B
Makefile
# $FreeBSD$
|
|
|
|
OBJS= btxcsu.o btxsys.o btxv86.o
|
|
AFLAGS+= -elf
|
|
LDFLAGS+= -elf
|
|
CLEANFILES+= crt0.o
|
|
INTERNALLIB= true
|
|
NOMAN= true
|
|
NOPIC= true
|
|
NOPROFILE= true
|
|
|
|
all: crt0.o
|
|
|
|
crt0.o: ${OBJS}
|
|
${LD} ${LDFLAGS} -i -o ${.TARGET} ${OBJS}
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.s.o:
|
|
${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC}
|