summaryrefslogtreecommitdiff
path: root/mk/lexyacc.mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-11-17 20:53:32 -0800
committerOri Bernstein <ori@eigenstate.org>2015-11-17 20:53:32 -0800
commit8531896f8d21ba1e727262aaf5cd96043590b480 (patch)
tree7c01441755f56ab66d33c37d3ac41642ddc46c0b /mk/lexyacc.mk
parentc20862cda53c711fe476f6c7d0f6631af47a4933 (diff)
downloadmc-8531896f8d21ba1e727262aaf5cd96043590b480.tar.gz
MEGAPATCH: Tabification.
Tabs > spaces. By 4 spaces, to be precise. Let's use them.
Diffstat (limited to 'mk/lexyacc.mk')
-rw-r--r--mk/lexyacc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/lexyacc.mk b/mk/lexyacc.mk
index 5306d97..4851366 100644
--- a/mk/lexyacc.mk
+++ b/mk/lexyacc.mk
@@ -3,7 +3,7 @@
%.h %.c: %.y
rm -f $*.h y.tab.h
yacc -d -o$*.c $<
- [ -f y.tab.h ] && mv y.tab.h $*.h
+ [ -f y.tab.h ] && mv y.tab.h $*.h || [ -f $*.h ]
%.c: %.l
flex -o$*.c $<