summaryrefslogtreecommitdiff
path: root/am-pat-rules.mk
diff options
context:
space:
mode:
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%,$^)