$NetBSD: patch-ab,v 1.4 2003/07/15 09:36:46 agc Exp $ --- Makefile.in.orig Mon May 22 20:42:57 2000 +++ Makefile.in @@ -69,7 +69,11 @@ # Build stuff # -all: $(PRODUCT) +# XXX - until pkgsrc has a sane way to invoke multiple "build" targets +../nufxlib-200/libnufx.a: + cd ../nufxlib-200 && $(MAKE) + +all: ../nufxlib-200/libnufx.a $(PRODUCT) @true install: $(PRODUCT) @@ -97,7 +101,7 @@ @$(MAKE) PURIFY_BUILD=1 $(PRODUCT): $(OBJS) $(NUFXLIB) - $(PURIFY) $(QUANTIFY) $(CC) -o $@ $(OBJS) -L$(NUFXSRCDIR) -L$(libdir) -lnufx @LIBS@ + $(PURIFY) $(QUANTIFY) $(CC) -o $@ $(OBJS) -L$(NUFXSRCDIR) $(LDFLAGS) -lnufx @LIBS@ clean: -rm -f *.o core