summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 16:09:26 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 16:09:26 -0400
commitdd84a8ab8f67cbc94aa3a427693970dbf3797e23 (patch)
tree88137c934f38b7e24bc25b2a3f2f5b9238604d54 /build-aux
parent89c999bf1d14cf5a2caf4264cfcbf166209eeb84 (diff)
(systemd) tidy
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/Makefile.each.tail/20-systemd.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/build-aux/Makefile.each.tail/20-systemd.mk b/build-aux/Makefile.each.tail/20-systemd.mk
index 89a8739..8f2f612 100644
--- a/build-aux/Makefile.each.tail/20-systemd.mk
+++ b/build-aux/Makefile.each.tail/20-systemd.mk
@@ -1,3 +1,15 @@
-include $(outdir)/$(DEPDIR)/*.P*
+
std.clean_files += *.o *.lo .deps/ .libs/
-include $(topsrcdir)/am-pat-rules.mk
+
+$(outdir)/%.o: $(srcdir)/%.c | $(outdir)/.deps
+ $(AM_V_CC)$(COMPILE) -c -o $@ $<
+
+$(outdir)/%.lo: $(srcdir)/%.c | $(outdir)/.deps
+ $(AM_V_CC)$(LTCOMPILE) -c -o $@ $<
+
+$(outdir)/.deps:
+ $(AM_V_at)$(MKDIR_P) $@
+
+$(outdir)/%.la:
+ $(AM_V_CCLD)$(LINK) $(filter-out .var%,$^)