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

Unified Diff: src/platform/vboot_reference/cgptlib/Makefile

Issue 2082007: rename cgpt files with cgptlib prefix (to avoid conflicts to cgpt utility) (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/cgptlib/Makefile
diff --git a/src/platform/vboot_reference/cgptlib/Makefile b/src/platform/vboot_reference/cgptlib/Makefile
index 418163c2527f7f3262a5ea9976c0be7e153f7bd1..5ba386e7144e45a8c8c3356a3f958f6e008a5b4e 100644
--- a/src/platform/vboot_reference/cgptlib/Makefile
+++ b/src/platform/vboot_reference/cgptlib/Makefile
@@ -2,8 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-CFLAGS ?= -Wall -Werror -ansi
-INCLUDES += tests
+CFLAGS += -Wall -Werror -ansi
+INCLUDES += -Itests
SUBDIRS = tests
all: cgpt.a
@@ -14,11 +14,11 @@ all: cgpt.a
.c.o:
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
-cgpt.a: cgpt.o
- $(AR) rs cgpt.a $<
+cgpt.a: cgptlib.o quick_sort.o crc32.o
+ $(AR) rs $@ $^
clean:
for i in $(SUBDIRS); do \
( $(MAKE) -C $$i clean ) ; \
done
- rm -f cgpt cgpt-host *.o *~ *.a
+ rm -f *.o *~ *.a

Powered by Google App Engine
This is Rietveld 408576698