summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahmubashshir@gmail.com>2024-11-15 18:10:03 +0600
committerLibravatar Mubashshir <ahmubashshir@gmail.com>2024-11-15 18:10:03 +0600
commit0579207417f92396711ccf4b79d9561e12e42237 (patch)
treeb9143941201cc701b9b7802da4b0a3306fadde5e
parentd8fe6ba3c6eff80a87335ece23c6111d4996c23c (diff)
downloadlog-parser-0579207417f92396711ccf4b79d9561e12e42237.tar.gz
log-parser-0579207417f92396711ccf4b79d9561e12e42237.zip
Fix build
Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a4e7544..d2a0221 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ all: $(BINARY) doc
%.tab.cc: %.yy
$(<<) "BISON\t" $(<:src/%=%) $(@:src/%=%)
- @bison -r -o $(@) $(<)
+ @bison -o $(@) $(<)
%.tab.hh: %.yy
$(<<) "BISON\t" $(<:src/%=%) $(@:src/%=%)
@@ -62,8 +62,8 @@ $(BINARY): $(<<objects>>)
@$(CXX) $(^) -o $(@) $(LDFLAGS)
clean:
- $(<<) " RM\t" obj doc
- @$(RM) -vf obj doc
+ $(<<) " RM\t" $(wildcard obj/** doc/**)
+ @$(RM) -f $(wildcard obj/** doc/**)
doc: doc/system.tab.gv doc/system.tab.html doc/system.tab.xml