@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
TEST_ARTIFACTS = prometheus search_index
TEST_ARTIFACTS = prometheus prometheus.race search_index
i n c l u d e M a k e f i l e . I N C L U D E
@ -23,9 +23,6 @@ advice:
binary : build
go build -o prometheus $( BUILDFLAGS) .
race_condition_binary : build
CGO_CFLAGS = " -I $( PWD) /build/root/include " CGO_LDFLAGS = " -L $( PWD) /build/root/lib " go build -race -o prometheus $( BUILDFLAGS) .
build : preparation config model tools web
clean :
@ -58,6 +55,12 @@ package: binary
preparation : source_path
$( MAKE) -C build
race_condition_binary : build
CGO_CFLAGS = " -I $( PWD) /build/root/include " CGO_LDFLAGS = " -L $( PWD) /build/root/lib " go build -race -o prometheus.race $( BUILDFLAGS) .
race_condition_run : race_condition_binary
./prometheus.race $( ARGUMENTS)
run : binary
./prometheus $( ARGUMENTS)
@ -82,4 +85,4 @@ tools:
web : preparation config model
$( MAKE) -C web
.PHONY : advice binary build clean config documentation format model package preparation race_condition_binary r un search_index source_path test tools
.PHONY : advice binary build clean config documentation format model package preparation race_condition_binary r ace_condition_run r un search_index source_path test tools