| 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
|
|
|