summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.each.tail
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
commita83e19dbaf62bcb33fb74f7e9c8a1fbce2c2af8f (patch)
treeecf736dfe9615a3b5192b98ec38891347bd5c456 /build-aux/Makefile.each.tail
parent0cf26b9dfdc5c3f84856d1d9bd3e69ea2e410192 (diff)
tidy
Diffstat (limited to 'build-aux/Makefile.each.tail')
-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 89a87397c5..8f2f612273 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%,$^)