| Index: Makefile
|
| diff --git a/Makefile b/Makefile
|
| index 873a392b9c939f32dff94cc05135a11653752a65..75d070217211f4766d6d7f70cbae598a8e088c9a 100644
|
| --- a/Makefile
|
| +++ b/Makefile
|
| @@ -1,6 +1,19 @@
|
| +# 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.
|
|
|
| -rootdev : rootdev.c
|
| +all: rootdev librootdev.so.1.0
|
|
|
| -.PHONY: clean clobber
|
| -clean clobber:
|
| - rm -f rootdev
|
| +rootdev: rootdev.c main.c
|
| + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -O2 -Wall
|
| +
|
| +librootdev.so.1.0: rootdev.c
|
| + $(CC) $(CFLAGS) $(LDFLAGS) -shared -fPIC \
|
| + -Wl,-soname,librootdev.so.1 $< -o $@
|
| + ln -s $@ librootdev.so.1
|
| + ln -s $@ librootdev.so
|
| +
|
| +clean:
|
| + rm -f rootdev librootdev.so*
|
| +
|
| +.PHONY: clean
|
|
|