Makefile: triggers rebuild when make install if arguments differ #41

Open
opened 2024-04-09 19:36:02 +02:00 by navi · 0 comments
Owner

running the three commands in order:

make clean distclean
make CC="gcc" BUILD_TLS=1 V=1 CFLAGS="-O2 -pipe" DEBUG="" DEBUG_FLAGS="" OPTIMIZATION="" -j12
make install DESTDIR="../inst/" PREFIX="/usr" -j12

the project will be rebuilt on the install step. if the same flags are repeated for the install step, rebuilding doesn't happen.

running the three commands in order: ``` make clean distclean make CC="gcc" BUILD_TLS=1 V=1 CFLAGS="-O2 -pipe" DEBUG="" DEBUG_FLAGS="" OPTIMIZATION="" -j12 make install DESTDIR="../inst/" PREFIX="/usr" -j12 ``` the project will be rebuilt on the install step. if the same flags are repeated for the install step, rebuilding doesn't happen.
Sign in to join this conversation.
No description provided.