eqn: fix parallel build (thanks eekee)

dont just mv y.tab.c, this can cause y.tab.c and y.tab.h to
be accidently regenerated breaking parallel build.
This commit is contained in:
cinap_lenrek 2014-04-03 23:20:48 +02:00
parent 95c100a3d6
commit 8515f4ecb7

View file

@ -40,7 +40,7 @@ YFLAGS=-d -S
CFLAGS=-c
eqn.c: y.tab.c prevy.tab.h
mv y.tab.c $target
cp y.tab.c $target
prevy.tab.h: y.tab.h
rc -c 'cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h'