summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Westerhuis <victor@westerhu.is>2021-12-03 23:56:32 +0100
committerVictor Westerhuis <victor@westerhu.is>2021-12-04 01:08:24 +0100
commit7e3709188833f72ca7a0808942d3a9da6464675f (patch)
tree05e3a1cc0565be4b201cb7495ef8acd00b84571e
parent5f674757fc35708f7d1700a9fc37a7b77a1bf1ab (diff)
downloadcolm-7e3709188833f72ca7a0808942d3a9da6464675f.tar.gz
Clean up more
Everything built by make should be cleaned up by make clean, according to the automake manual.
-rw-r--r--src/Makefile.am1
-rw-r--r--test/Makefile.am1
-rw-r--r--test/aapl.d/Makefile.am2
-rw-r--r--test/colm.d/Makefile.am2
-rw-r--r--test/rlhc.d/Makefile.am2
-rw-r--r--test/rlparse.d/Makefile.am2
-rw-r--r--test/trans.d/Makefile.am2
7 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ca2d6829..6953a93c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -184,6 +184,7 @@ colm_LDADD = libprog.a -lcolm
# with the following additional dependency.
CLEANFILES = \
+ colm-wrap \
gen/parse1.c \
gen/if1.h \
gen/if1.cc \
diff --git a/test/Makefile.am b/test/Makefile.am
index f583ed05..b239156c 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -15,3 +15,4 @@ subject.sh: subject.sh.in Makefile
dist: dist.sh
@$(top_srcdir)/sedsubst $< $@ -w,+x $(SED_SUBST)
+CLEANFILES = subject.mk subject.sh
diff --git a/test/aapl.d/Makefile.am b/test/aapl.d/Makefile.am
index dd59b706..03908032 100644
--- a/test/aapl.d/Makefile.am
+++ b/test/aapl.d/Makefile.am
@@ -101,6 +101,8 @@ gentests: gentests.sh Makefile
#
#-include $(DEPS)
+CLEANFILES = gentests
+
clean-local:
rm -Rf working *.exp
diff --git a/test/colm.d/Makefile.am b/test/colm.d/Makefile.am
index 8a752e63..b0041329 100644
--- a/test/colm.d/Makefile.am
+++ b/test/colm.d/Makefile.am
@@ -185,6 +185,8 @@ EXTRA_DIST = \
gentests: gentests.sh Makefile
@$(top_srcdir)/sedsubst $< $@ -w,+x $(SED_SUBST)
+CLEANFILES = gentests
+
clean-local:
rm -Rf working *.lm *.lmi *.in
diff --git a/test/rlhc.d/Makefile.am b/test/rlhc.d/Makefile.am
index 59999192..9d150771 100644
--- a/test/rlhc.d/Makefile.am
+++ b/test/rlhc.d/Makefile.am
@@ -1089,7 +1089,7 @@ CASES = \
case/union.cpp-C-T1--goto-backend.exp \
case/union.cpp-C-T1--goto-backend.in
-CLEANFILES = gentests
+CLEANFILES = gentests rlhc.c
clean-local:
rm -Rf working case
diff --git a/test/rlparse.d/Makefile.am b/test/rlparse.d/Makefile.am
index e5151418..cbbc28dd 100644
--- a/test/rlparse.d/Makefile.am
+++ b/test/rlparse.d/Makefile.am
@@ -41,7 +41,7 @@ commit.cc: parse.c
load.cc: if.h
reducer.cc: if.h
-CLEANFILES = gentests
+CLEANFILES = gentests parse.c if.h if.cc commit.cc
clean-local:
rm -Rf working case
diff --git a/test/trans.d/Makefile.am b/test/trans.d/Makefile.am
index 5b0a91e7..200cd10a 100644
--- a/test/trans.d/Makefile.am
+++ b/test/trans.d/Makefile.am
@@ -376,7 +376,7 @@ CASES = \
case/zlen1_ruby.rl \
case/zlen1_rust.rl
-CLEANFILES = gentests
+CLEANFILES = gentests trans.c
clean-local:
rm -Rf working case