summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) \