Re: Makefile: How to create "eqn.cpp" and "eqn.hpp" as they are not rebuilt when removed

2023-07-14 Thread Bjarni Ingi Gislason
Fixing the compilation. The program "bison" needs the option "-y" to name its output files in the same way as "byacc" does, that is, according to the "POSIX yacc". So use export YACC='bison -y'

Re: Makefile: How to create "eqn.cpp" and "eqn.hpp" as they are not rebuilt when removed

2023-07-12 Thread G. Branden Robinson
At 2023-07-12T18:38:10+, Bjarni Ingi Gislason wrote: > In a Makefile: > > maintainer-clean-generic: > @echo "This command is intended for maintainers to use" > @echo "it deletes files that may require special tools to > rebuild." > -rm -f src/preproc/eqn/eqn.cpp This

Re: Makefile: How to create "eqn.cpp" and "eqn.hpp" as they are not rebuilt when removed

2023-07-12 Thread Bjarni Ingi Gislason
I could build the missing files by using "YACC=byacc", but I usually use "bison". YACC is an environmental variable.

Makefile: How to create "eqn.cpp" and "eqn.hpp" as they are not rebuilt when removed

2023-07-12 Thread Bjarni Ingi Gislason
In a Makefile: maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -rm -f src/preproc/eqn/eqn.cpp and src/preproc/eqn/eqn.hpp: src/preproc/eqn/eqn.cpp @if test !