edit: I seem to have found the solution to my problem. the option can be found in ide50.sh located in /etc/profile.d/ . works now after removing '-B' from 'make -B'
Love the course!
Anyway, this is how I have set up my Makefile to test it out:
test: test.o link.o
gcc -o test test.o link.o
test.o: test.c
gcc -O -c test.c
link.o: link.c
gcc -O -c link.c
And this compiles and links just fine with 'make test', but it recompiles every file every invocation of 'make' even when there is no code change. I think with this set up it should check the dependencies of each file and only compile those files that are dependent on the files whose code was changed.
I used 'make -d' to see what's happening and the ide or the system or something else always seem to pass the '-B' (--always-make) option:
Making `link.o' due to always-make flag
https://www.gnu.org/software/make/manual/html_node/Options-Summary.html
Is there any way to disable it?