Skip to content

make runs into an error when trying to build after make clean #16

@DillonZChen

Description

@DillonZChen

make works the first time but not after the second time after running make clean

To reproduce:

make -j
make clean
make -j

Then I get the error after the second make command:

bison -v -d -o src/hddl.cpp src/hddl.y
flex --yylineno -o src/hddl-token.cpp src/hddl-token.l
g++ -O3 -pipe -Wall -Wextra -pedantic -std=c++17 -DNDEBUG -Wno-unused-parameter  -o src/hddl-token.o -c src/hddl-token.cpp
src/hddl-token.cpp:1559:17: warning: ‘void yyunput(int, char*)’ defined but not used [-Wunused-function]
 1559 |     static void yyunput (int c, char * yy_bp )
      |                 ^~~~~~~
g++ -O3 -pipe -Wall -Wextra -pedantic -std=c++17 -DNDEBUG -Wno-unused-parameter  -o src/hddl.o -c src/hddl.cpp
make: *** No rule to make target 'src/options.ggo', needed by 'src/cmdline.h'.  Stop.

I currently get around the issue by cloning the repository from scratch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions