summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-16 22:09:56 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-16 22:09:56 -0800
commitbfd78e3252e56c8dcad084144fe7f2ae62561acd (patch)
tree7a50e7a33697fdd6977740161ab8b0839a1d6c5d
parent3a6c04927b4136a195b0bc259f50caf8249dfced (diff)
downloadtxr-bfd78e3252e56c8dcad084144fe7f2ae62561acd.tar.gz
txr-bfd78e3252e56c8dcad084144fe7f2ae62561acd.tar.bz2
txr-bfd78e3252e56c8dcad084144fe7f2ae62561acd.zip
* Makefile (rebuild): New target. Tired of doing make clean; make.
-rw-r--r--ChangeLog4
-rw-r--r--Makefile3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0cb0e42e..6653faea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-11-16 Kaz Kylheku <kkylheku@gmail.com>
+ * Makefile (rebuild): New target. Tired of doing make clean; make.
+
+2009-11-16 Kaz Kylheku <kkylheku@gmail.com>
+
Big round of changes to switch the code base to use the stream
abstraction instead of directly using C standard I/O,
to eliminate most uses of C formatted I/O,
diff --git a/Makefile b/Makefile
index 03f1e266..8e2d746a 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,9 @@ lex.yy.c: parser.l
y.tab.c y.tab.h: parser.y
if $(YACC) -v -d $< ; then true ; else rm $@ ; false ; fi
+.PHONY: rebuild
+rebuild: clean $(PROG)
+
.PHONY: clean
clean:
rm -f $(PROG) $(OBJS) \