summaryrefslogtreecommitdiffstats
path: root/util/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/Makefile')
-rw-r--r--util/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/Makefile b/util/Makefile
index 801489b1..20477500 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -106,8 +106,8 @@ installdiskstat: diskstat
chmod 2755 /usr/local/bin/diskstat
# for bbsctl. bbsctl should be compiled with bbs and installed with root
-bbsctl: bbsctl.c util_osdep.o
- $(CCACHE) $(CC) $(CFLAGS) ${LDFLAGS} -o $@ $@.c util_osdep.o
+bbsctl: bbsctl.c
+ $(CCACHE) $(CC) $(CFLAGS) ${LDFLAGS} -o $@ $@.c $(LIBS)
installbbsctl: bbsctl
rm -f /home/bbs/bin/bbsctl