diff options
author | vbendeb <vbendeb@chromium.org> | 2010-06-16 12:49:31 -0700 |
---|---|---|
committer | vbendeb <vbendeb@chromium.org> | 2010-06-16 12:49:31 -0700 |
commit | 2a0155663e0213d5b7492c433f8a4edece4db838 (patch) | |
tree | 933db8cb79e3ce003ef8f7eb70fd0ab1a98f3e0c /cgpt | |
parent | d471f2a83961f1da85d49163da4782d2439b611f (diff) | |
download | vboot-2a0155663e0213d5b7492c433f8a4edece4db838.tar.gz |
One of the last moment mods of the original make rework
CL (http://codereview.chromium.org/2845001) resulted in broken
dependencies.
This CL completes the modification (the trick is to ensure
that the default target is always the first).
Note that the tests subdirectory Makefile still does not
properly follow the dependencies, it will have to be
addressed in a separate CL.
Tested by touching different .h and .c files and observing the results.
Review URL: http://codereview.chromium.org/2819004
Diffstat (limited to 'cgpt')
-rw-r--r-- | cgpt/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgpt/Makefile b/cgpt/Makefile index 47856d5b..84895a7a 100644 --- a/cgpt/Makefile +++ b/cgpt/Makefile @@ -22,9 +22,9 @@ ALL_SRCS = \ cmd_boot.c \ cgpt_common.c -include ../common.mk +main: $(PROGNAME) -all: $(PROGNAME) +include ../common.mk $(PROGNAME): $(ALL_OBJS) $(LIBS) $(CC) -o $(PROGNAME) $(CFLAGS) $^ $(LDFLAGS) |