blob: 3e5483d2c7091ee7dd83bad93dde6d3a499db1e6 (
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
29
|
# $OpenBSD: Makefile,v 1.5 1998/12/15 06:12:50 smurph Exp $
#
# DO NOT OPTMIZE bugcrt (i.e. no "-O2")
#
S=${.CURDIR}/../../../..
CFLAGS=-I${.CURDIR}/../../include -I${.CURDIR}/../libbug -I${S}/lib/libsa \
-fomit-frame-pointer
OBJS=bugcrt.o sdcrt.o
CLEANFILES+=a.out ${OBJS}
all: ${OBJS}
bugcrt.o: bugcrt.c
${COMPILE.c} -c $<
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
sdcrt.o: sdcrt.c
${COMPILE.c} -c $<
${LD} -x -r ${.TARGET}
mv a.out ${.TARGET}
install:
lint tags:
.include <bsd.prog.mk>
|