You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
630 B
27 lines
630 B
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
BINS = crasher_nobreakpad
|
|
SRC = crasher.cc
|
|
OBJS = crasher.o bomb.o
|
|
# Use a non-standard extension to avoid the AUTOTEST_MASK that intends to
|
|
# remove these since they're usually large and redundant.
|
|
TGZ = crasher.tgz-unmasked
|
|
|
|
all: $(TGZ)
|
|
|
|
# gzip so that portage does not strip.
|
|
$(TGZ): $(BINS)
|
|
tar czf $(TGZ) $^
|
|
rm -f $(BINS)
|
|
|
|
crasher_nobreakpad: $(OBJS)
|
|
$(CXX) $(CXXFLAGS) -o $@ $^
|
|
|
|
.cc.o:
|
|
$(CXX) $(CXXFLAGS) -c $< -o $@
|
|
|
|
clean:
|
|
$(RM) *.o $(BIN) $(TGZ)
|