'make all' broken
rhd opened this issue · comments
rhd commented
Hi, the only reason I noticed this is because qtcreator defaults to make all
.
$ make all
Compiling: main.cpp -> /main.o
/bin/bash: /.main.o_time: Permission denied
Makefile:216: recipe for target '/main.o' failed
make: *** [/main.o] Error 1
vs
$ make
Creating directories
Beginning release build
Compiling: main.cpp -> build/release/main.o
Compile time: 00:00:01
Linking: bin/release/claratest
Link time: 00:00:00
Making symlink: claratest -> bin/release/claratest
Total build time: 00:00:01
Michael Crawford commented
make all
isn't meant to be called directly in this makefile, because it relies on make release
or make debug
to set up the build first. You'd have to do some pretty substantial restructuring to allow it to work.