makefile: regenerate getdate.c when missing

This commit is contained in:
Miroslav Lichvar 2014-08-13 13:01:35 +02:00
parent 18796a3c18
commit 80129fa9ab

View file

@ -85,7 +85,10 @@ clean :
-rm -f *.o *.s chronyc chronyd core *~ chrony.info chrony.html chrony.txt
-rm -rf .deps
getdate.c : ;
getdate.c :
bison -o getdate.c getdate.y
# This can be used to force regeneration of getdate.c
getdate :
bison -o getdate.c getdate.y