summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c530057..6481938 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -60,7 +60,10 @@ twm_SOURCES = \
gram.y \
lex.l
-BUILT_SOURCES = gram.h deftwmrc.c
+BUILT_SOURCES = gram.h gram.c lex.c deftwmrc.c
+CLEANFILES = $(BUILT_SOURCES)
+
+gram.h: gram.c
deftwmrc.c: system.twmrc
rm -f $@