$NetBSD: patch-aa,v 1.3 2003/01/13 18:29:52 wiz Exp $ --- Makefile.orig Sun Nov 17 19:52:53 2002 +++ Makefile @@ -1,5 +1,7 @@ TARGET = malsync +all: ${TARGET} + PLAT := $(shell uname) ifeq ($(PLAT),SunOS) @@ -15,7 +17,6 @@ LINKLIBS = -lm endif TREETOP = . -PILOT_LINK_DIR = $(TREETOP)/pilot-link-0.11.5 CFLAGS = -Wall -g -DMALSYNC -I$(TREETOP)/mal/common \ -I$(TREETOP)/mal/client/common -I$(PILOT_LINK_DIR)/include \ @@ -72,8 +73,8 @@ DYNLINK = -rdynamic endif $(TARGET): $(OBJS) - $(CC) $(DYNLINK) $(CFLAGS) -o $@ $(OBJS) \ - -L${PILOT_LINK_DIR}/libpisock/.libs -lpisock $(LINKLIBS) + $(CC) $(DYNLINK) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) \ + -L${PILOT_LINK_DIR}/lib -lpisock $(LINKLIBS) clean: rm -f $(OBJS) $(TARGET)