summaryrefslogtreecommitdiff
path: root/regress/misc/objc/Makefile
blob: e2bcab43f6ac9a3e1c331e482d4c39a8d7c05e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	$OpenBSD: Makefile,v 1.2 2005/04/18 17:45:46 miod Exp $

.SUFFIXES: .m

COMPILE.m?=	${CC} ${CFLAGS} ${CPPFLAGS} -c
LINK.m?=	${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}

.m:
	${LINK.m} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
.m.o:
	${COMPILE.m} ${.IMPSRC}

PROG=	main
SRCS=	main.m
LDADD=	-lobjc

.include <bsd.regress.mk>