blob: 84e71f65cafd97d5bf7cf3bd9accaec9c6a343fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- a/src/Mixfix/Makefile.am
+++ b/src/Mixfix/Makefile.am
@@ -82,7 +82,7 @@
EXTRA_libmixfix_a_SOURCES = \
compiler.cc
-BUILT_SOURCES = surface.yy surface.cc surface.h lexer.cc tokenizer.cc deserializer.cc
+BUILT_SOURCES = surface.yy surface.cc lexer.cc tokenizer.cc deserializer.cc
CLEANFILES = surface.yy surface.cc surface.h lexer.cc tokenizer.cc deserializer.cc
surface.yy: \
@@ -97,12 +97,12 @@
$(srcdir)/bottom.yy \
> surface.yy
-surface.cc: surface.yy
+surface.cc: surface.h
$(BISON) -dv surface.yy -o surface.c
mv surface.c surface.cc
touch surface.h
-surface.h: surface.cc
+surface.h: surface.yy
# According to the manual, automake is supposed to grok
# .ll files and do the right thing... but it doesn't
|