summaryrefslogtreecommitdiff
path: root/regress/buildlink-libtool/files/Makefile
blob: bbc52675f1a6fdd7fdfb9c1b3835c7382920c3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: Makefile,v 1.1.1.1 2004/08/30 04:44:14 jlam Exp $

.PHONY: all
all: libregress1.la libregress2.la

.SUFFIXES: .lo

.c.lo:
	${LIBTOOL} --mode=compile ${CC} -c $<

libregress1.la: f.lo
	${LIBTOOL} --mode=link ${CC} -o $@ $>				\
		-rpath ${PREFIX}/lib -version-info 0:0

libregress2.la: libregress1.la f.lo
	${LIBTOOL} --mode=link ${CC} -o $@ $> libregress1.la		\
		-rpath ${PREFIX}/lib -version-info 0:0