Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: Makefile

Issue 3397004: Remove -lcrash (Closed) Base URL: http://git.chromium.org/git/crash-dumper.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LICENSE ('k') | crash_dumper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 CRASH_LIB = libcrash.so
6
7 INCLUDE_DIRS = -I.. -I$(SYSROOT)/usr/include/google-breakpad
8
9 # We need -fPIC for linking objects into shared objects.
10 CXXFLAGS += -fPIC -Wall -Werror
11
12 all: $(CRASH_LIB)
13
14 tests: innocuous_host_lcrash_test
15
16 $(CRASH_LIB): crash_dumper.o
17 $(CXX) -shared -lbreakpad_client $^ -o $@
18
19 innocuous_host_lcrash_test: innocuous_host_lcrash_test.o $(CRASH_LIB)
20 $(CXX) $^ -o $@ ${CRASH_LIB}
21
22 .cc.o:
23 $(CXX) $(CXXFLAGS) $(INCLUDE_DIRS) -c $< -o $@
24
25 clean:
26 rm -rf *.o $(CRASH_LIB)
OLDNEW
« no previous file with comments | « LICENSE ('k') | crash_dumper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698