diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-03-10 22:05:07 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-03-10 22:05:07 +0900 |
commit | b75eb63982a54c0fb4576d8a655ef734908d3604 (patch) | |
tree | 30cb882f332f131441c629fb58385e5b51d44701 /fc-lang | |
parent | a47899a853e4ed3405f398f43d03424095ae73f5 (diff) |
Fix a build fail on some environment
Diffstat (limited to 'fc-lang')
-rw-r--r-- | fc-lang/Makefile.am | 4 |
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 |