blob: 065f4b015a1e6b3e0c990af436a7d74d530a69ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
LIB=bug
CFLAGS+=-I${.CURDIR}/../include
CFLAGS+=-I${.CURDIR}/../../include
CFLAGS+=-I${.CURDIR}/../..
CFLAGS+=-I/usr/src/sys
CFLAGS+=-fwritable-strings
SRCS+=bugio.c
#SRCS+=bugcrt.c bugio.c main.c
.if (${MACHINE_ARCH} == "m68k")
SRCS+=mvme147.c bcopy.c memset.c
.endif
.if (${MACHINE_ARCH} == "m88k")
SRCS+=bcopy.c memset.c printf.c
.endif
.PATH: ${.CURDIR}/../../../../lib/libc_sa ${.CURDIR}/${MACHINE_ARCH}
all: bugio.o
#bugio.o: bugio.c
# ${CC} ${CFLAGS} -c -O ${.ALLSRC}
# ${LD} -x -r ${.TARGET}
# mv a.out ${.TARGET}
.include <bsd.lib.mk>
|