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

Side by Side Diff: Makefile

Issue 3141038: rootdev: fix -d, add -c and -r. ifdefs for so use (Closed) Base URL: http://src.chromium.org/git/rootdev.git
Patch Set: integrated feedback; added functional tests 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
« no previous file with comments | « LICENSE ('k') | README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.
1 4
2 rootdev : rootdev.c 5 all: rootdev librootdev.so.1.0
3 6
4 .PHONY: clean clobber 7 rootdev: rootdev.c main.c
5 clean clobber: 8 » $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -O2 -Wall
6 » rm -f rootdev 9
10 librootdev.so.1.0: rootdev.c
11 » $(CC) $(CFLAGS) $(LDFLAGS) -shared -fPIC \
12 -Wl,-soname,librootdev.so.1 $< -o $@
13 » ln -s $@ librootdev.so.1
14 » ln -s $@ librootdev.so
15
16 clean:
17 » rm -f rootdev librootdev.so*
18
19 .PHONY: clean
OLDNEW
« no previous file with comments | « LICENSE ('k') | README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698