summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemons/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/daemons/Makefile b/daemons/Makefile
index b089ac79..00beb292 100644
--- a/daemons/Makefile
+++ b/daemons/Makefile
@@ -26,14 +26,13 @@ SRCS = rc.sh getty.c
installationdir = $(libexecdir)
OBJS = $(SRCS:.c=.o)
-
-libutil-libsubst = -lutil
+getty-LDLIBS = -lutil
include ../Makeconf
-%: %.sh
- cp $< $@ && chmod +w $@
-
-getty: ../libshouldbeinlibc/libshouldbeinlibc.a -lutil
+getty: ../libshouldbeinlibc/libshouldbeinlibc.a
$(filter-out $(special-targets), $(targets)): %: %.o
+
+%: %.sh
+ cp $< $@ && chmod +w $@