#11 missing depend in libsial/Makefile

open
nobody
None
5
2009-01-02
2009-01-02
No

the libsial/Makefile file in the 6.2.0 release does not declare a dependency of sial_api.o on sial.tab.h

as such, a parallel build may fail as make attempts to compile sial_api.c before sial.tab.h has been generated

--- a/libsial/Makefile
+++ b/libsial/Makefile
@@ -53,7 +53,7 @@
./mkbaseop > baseops.c
$(CC) $(CFLAGS) -c baseops.c

-mkbaseop.c sial_member.o sial_op.o sial_stat.o sial_type.o y.tab.o : sial.tab.h
+mkbaseop.c sial_api.o sial_member.o sial_op.o sial_stat.o sial_type.o y.tab.o : sial.tab.h

lex.sial.o: lex.sial.c sial.tab.c sial.h
$(CC) $(CFLAGS) -c lex.sial.c

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks