From c26275184cd6cc5850d1d7d453d3e27be9e9a5b2 Mon Sep 17 00:00:00 2001 From: Letu Ren Date: Sun, 9 Oct 2022 18:28:46 +0200 Subject: Makefile: Change default target to all According to README.gnuefi, To build the sample EFI applications provided in subdirectory "apps", simply invoke "make" in the toplevel directory (the directory containing this README file). This should build lib/libefi.a and gnuefi/libgnuefi.a first and then all the EFI applications such as a apps/t6.efi. The default target of top directory Makefile should be all instead of gnuefi. Signed-off-by: Letu Ren --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 897628b..270a203 100644 --- a/Makefile +++ b/Makefile @@ -44,10 +44,11 @@ VPATH = $(SRCDIR) include $(SRCDIR)/Make.defaults SUBDIRS = lib gnuefi inc apps -gnuefi: lib all: check_gcc $(SUBDIRS) +gnuefi: lib + mkvars: @echo AR=$(AR) @echo ARCH=$(ARCH) -- cgit v1.2.1