summaryrefslogtreecommitdiff
path: root/fc-lang
diff options
context:
space:
mode:
Diffstat (limited to 'fc-lang')
-rw-r--r--fc-lang/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-lang/Makefile.am b/fc-lang/Makefile.am
index d2eca5ba..09292bb9 100644
--- a/fc-lang/Makefile.am
+++ b/fc-lang/Makefile.am
@@ -40,8 +40,8 @@ $(TARG):$(ORTH) fc-lang.c $(STMPL)
@echo Warning: cannot rebuild $(TARG) when cross-compiling
else
$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
- $(AM_V_GEN) $(RM) $(TARG); \
- ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
+ -rm $(TARG)
+ $(AM_V_GEN) $(builddir)/fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
mv $(TARG).tmp $(TARG)
endif