aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-01-02 11:49:48 +0000
committerOmar Polo <op@omarpolo.com>2022-01-02 11:49:48 +0000
commitec5c5ced4a067647c94c6e1cbc7fe333e3a37c4b (patch)
treee8d1566336e42527bfa1cd5afed079dd47bbf0fb /Makefile
parent53884ec00adf7fa7e8a62b41b589a95892d34b2b (diff)
make clean: don't clean regress, add cleanall for that
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bf7836c..89f75f6 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# all.
TESTS=
-.PHONY: all static clean regress install
+.PHONY: all static clean cleanall regress install
all: Makefile.local gmid gg TAGS compile_flags.txt
@@ -33,6 +33,8 @@ TAGS: ${SRCS}
clean:
rm -f *.o compat/*.o y.tab.c y.tab.h y.output gmid
rm -f compile_flags.txt
+
+cleanall: clean
${MAKE} -C regress clean
regress: gmid