Fix Makefile's to not create target file in case of failure
This commit is contained in:
parent
26ce979e82
commit
916640ce40
|
@ -43,7 +43,8 @@ EXTRA_DIST=$(TMPL)
|
|||
|
||||
$(TARG):fc-arch${EXEEXT} $(STMPL) ${top_srcdir}/src/fcint.h ../config.h
|
||||
rm -f $(TARG)
|
||||
./fc-arch${EXEEXT} $(ARCHITECTURE) < $(STMPL) > $(TARG)
|
||||
./fc-arch${EXEEXT} $(ARCHITECTURE) < $(STMPL) > $(TARG).tmp && \
|
||||
mv $(TARG).tmp $(TARG)
|
||||
|
||||
ALIAS_FILES = fcalias.h fcaliastail.h
|
||||
|
||||
|
|
|
@ -42,7 +42,8 @@ EXTRA_DIST=$(TMPL) $(ORTH)
|
|||
|
||||
$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
|
||||
rm -f $(TARG)
|
||||
./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG)
|
||||
./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
|
||||
mv $(TARG).tmp $(TARG)
|
||||
|
||||
ALIAS_FILES = fcalias.h fcaliastail.h
|
||||
|
||||
|
|
Loading…
Reference in New Issue