Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile syntax error *** mixed implicit and normal rules #104

Closed
lionel-van-bemten opened this issue Mar 3, 2020 · 1 comment
Closed
Labels

Comments

@lionel-van-bemten
Copy link

The syntax introduced in lib/src/Makefile.in in 7350ec1 does not work with gnu make.

DATELEN != date +"%Y.%m.%d %H:%M by whoamionhostnameXXXX"|wc -c

clixon $ make
(cd include && make  all)
make[1]: Entering directory `/repo/lvanbemt/clixon/include'
 
make[1]: Leaving directory `/repo/lvanbemt/clixon/include'
(cd lib && make  all)
make[1]: Entering directory `/repo/lvanbemt/clixon/lib'
(cd src; make -w all)
make[2]: Entering directory `/repo/lvanbemt/clixon/lib/src'
Makefile:220: *** mixed implicit and normal rules.  Stop.
make[2]: Leaving directory `/repo/lvanbemt/clixon/lib/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/repo/lvanbemt/clixon/lib'
make: *** [lib] Error 2
olofhagsand added a commit that referenced this issue Mar 11, 2020
…#104). Make operator  seems not to work on GNU make version < 4.
@olofhagsand
Copy link
Member

Make |= operator seems not to work for GNU make version < 4. Replaced with $(shell).
Thanks @rbgarga

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants