diff --git a/zpwr/Makefile b/zpwr/Makefile index c56dee26..6fa16c2c 100644 --- a/zpwr/Makefile +++ b/zpwr/Makefile @@ -10,8 +10,9 @@ include ../common.mak all: zpwr OBJECTS = zpwr.o +LDLIBS += -lm -zpwr: $(OBJECTS) $(rootdir)/libutil/libutil.a -lm +zpwr: $(OBJECTS) $(rootdir)/libutil/libutil.a install: all $(INSTALL) -d -m 755 $(DESTDIR)$(USRBINDIR)