summaryrefslogtreecommitdiff
path: root/fc-lang
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-03-16 11:55:47 +0900
committerAkira TAGOH <akira@tagoh.org>2012-03-16 11:55:47 +0900
commitf2813ffc689fb6972ff4d5d414c3abfa3e0be26f (patch)
treebd134a91206974a1fd47233a20a3aca099946f8b /fc-lang
parenta5b609196fe9cf688e5b4f7b7cd31fb2dc15b154 (diff)
Revert "Fix a build fail on some environment"
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 09292bb9..d2eca5ba 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)
- -rm $(TARG)
- $(AM_V_GEN) $(builddir)/fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
+ $(AM_V_GEN) $(RM) $(TARG); \
+ ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
mv $(TARG).tmp $(TARG)
endif