aboutsummaryrefslogtreecommitdiff
path: root/src/rc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r--src/rc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index c8ac7816..d87e728b 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -27,13 +27,14 @@ RC_SBINLINKS= mark_service_starting mark_service_started \
mark_service_coldplugged mark_service_failed \
rc-abort
+LDFLAGS+= -L../librc -L../libeinfo
+LDADD+= -lutil -lrc -leinfo
+
MK= ../../mk
include ${MK}/cc.mk
include ${MK}/os.mk
include ${MK}/prog.mk
-LDFLAGS+= -L../librc -L../libeinfo
-LDADD+= -lutil -lrc -leinfo
CFLAGS+= -I../includes -I../librc -I../libeinfo
CFLAGS+= -DLIB=\"${LIBNAME}\"