diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-10-28 18:49:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-10-28 18:49:08 -0700 |
commit | 680e658f58e9bf7786800668725ff59a1963b793 (patch) | |
tree | 711f96f5202c40b437dcf9adaec02c994aafc1ba | |
parent | 1f9f41ef07063675b0dbf643b0bf10b9ac144880 (diff) | |
download | txr-680e658f58e9bf7786800668725ff59a1963b793.tar.gz txr-680e658f58e9bf7786800668725ff59a1963b793.tar.bz2 txr-680e658f58e9bf7786800668725ff59a1963b793.zip |
* Makefile (clean): depends on conftest.clean
(conftest.clean): New target.
* configure: Use "make conftest.clean" to clean up conftest stuff. Note
that there was a bug here: brace expansion was used, but the shell is
/bin/sh, so conftest.err wasn't being removed.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | Makefile | 8 | ||||
-rwxr-xr-x | configure | 3 |
3 files changed, 17 insertions, 3 deletions
@@ -1,3 +1,12 @@ +2013-10-28 Kaz Kylheku <kaz@kylheku.com> + + * Makefile (clean): depends on conftest.clean + (conftest.clean): New target. + + * configure: Use "make conftest.clean" to clean up conftest stuff. Note + that there was a bug here: brace expansion was used, but the shell is + /bin/sh, so conftest.err wasn't being removed. + 2013-10-27 Kaz Kylheku <kaz@kylheku.com> Fix 2013-10-06 regression in op syntax. This happens when a @var @@ -75,7 +75,7 @@ $(MPI_OBJS): CFLAGS += -DXCALLOC=chk_calloc -DXFREE=free rebuild: clean repatch $(PROG) .PHONY: clean -clean: +clean: conftest.clean rm -f $(PROG) $(OBJS) $(OBJS-y) \ y.tab.c lex.yy.c y.tab.h y.output $(TESTS:.ok=.out) @@ -190,3 +190,9 @@ conftest.yacc: .PHONY: conftest.ccver conftest.ccver: @$(CC) --version + +.PHONY: conftest.clean +conftest.clean: + rm -f conftest conftest.[co] \ + conftest2 conftest[12].[oc] \ + conftest.err conftest.syms @@ -1293,8 +1293,7 @@ fi # Clean up # -rm -f conftest conftest.[co] conftest.{err,syms} -rm -f conftest2 conftest[12].[oc] +make conftest.clean # # What do we have for patch management. |