summaryrefslogtreecommitdiff
path: root/am-pat-rules.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-27 15:32:35 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-27 15:32:35 -0400
commit658d4fefc78a50ad825f95f55f640a2a97134f80 (patch)
treea46e63faa481178532d2ebecb53d31b00e3654ca /am-pat-rules.mk
parent3f88c40b91e52978fdb9efcf684a6a2b62afb509 (diff)
stuff
Diffstat (limited to 'am-pat-rules.mk')
-rw-r--r--am-pat-rules.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/am-pat-rules.mk b/am-pat-rules.mk
index fe44940103..14ec302ae4 100644
--- a/am-pat-rules.mk
+++ b/am-pat-rules.mk
@@ -1,15 +1,11 @@
$(outdir)/%.o: $(srcdir)/%.c | $(outdir)/.deps
- $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
- $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
- $(am__mv) $$depbase.Tpo $$depbase.Po
+ $(AM_V_CC)$(COMPILE) -c -o $@ $<
$(outdir)/%.lo: $(srcdir)/%.c | $(outdir)/.deps
- $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
- $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
- $(am__mv) $$depbase.Tpo $$depbase.Plo
+ $(AM_V_CC)$(LTCOMPILE) -c -o $@ $<
$(outdir)/.deps:
$(AM_V_at)$(MKDIR_P) $@
$(outdir)/%.la:
- $(AM_V_CCLD)$(LINK) $^
+ $(AM_V_CCLD)$(LINK) $(filter-out .var%,$^)