summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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) \