$NetBSD: patch-aa,v 1.1.1.1 2001/08/02 17:34:00 drochner Exp $ --- Makefile.orig Sun May 20 05:05:26 2001 +++ Makefile Tue Jul 31 17:34:17 2001 @@ -2,7 +2,7 @@ CFLAGS += -OBJDIR = $(shell uname --machine) +OBJDIR = work $(shell sh -c 'if ! test -d $(OBJDIR)\; then \ mkdir $(OBJDIR)\; \ @@ -69,7 +69,7 @@ OUTPUT = $(OBJDIR)/libmpeg3.a UTILS = $(OBJDIR)/dump $(OBJDIR)/mpeg3cat $(OBJDIR)/mpeg3toc $(OBJDIR)/mpeg3split -LIBS = -lm -lpthread +LIBS = -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lm -lpthread all: $(OUTPUT) util