[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Force Rebuild if CXXFLAGS Change?
From: |
Jeffrey Walton |
Subject: |
Force Rebuild if CXXFLAGS Change? |
Date: |
Thu, 11 Aug 2011 03:27:09 -0400 |
Hi All,
Is it possible to have make rebuild a target if its CXXFLAGS change?
For example:
`make debug` # CXXFLAGS = -D_GLIBCXX_DEBUG -DDEBUG=1 -g3 -ggdb -O0
<user runs debug build>
`make release` #CXXFLAGS = -DNDEBUG=1 -g -O2
<make: nothing to make>
Jeff
- Force Rebuild if CXXFLAGS Change?,
Jeffrey Walton <=