summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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