X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile;h=613b597ee890ac7d8c4b0034702cb74be251ac57;hb=6b99cd9349f4ee5a5af604dfe86df032024e9792;hp=98d032391fadc03e7dfaab1c8ed239e700f56b60;hpb=7067abb3005518fb96f2e7ef7d60e5eae71d1d65;p=debian%2Felilo diff --git a/Makefile b/Makefile index 98d0323..613b597 100644 --- a/Makefile +++ b/Makefile @@ -25,19 +25,15 @@ # to use this program. # -SRCDIR = . - -VPATH = $(SRCDIR) - -include $(SRCDIR)/Make.defaults -TOPDIR = $(SRCDIR) +include Make.defaults +TOPDIR=. CRTOBJS = $(EFICRT0)/crt0-efi-$(ARCH).o LDSCRIPT = $(EFICRT0)/elf_$(ARCH)_efi.lds LDFLAGS += -T $(LDSCRIPT) -shared -Bsymbolic -L$(EFILIB) -L$(GNUEFILIB) $(CRTOBJS) -LOADLIBES = -lefi -lgnuefi $(shell $(CC) $(ARCH3264) -print-libgcc-file-name) +LOADLIBES = -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name) FORMAT = efi-app-$(ARCH) FILESYSTEM = @@ -91,8 +87,7 @@ fileops.o : Make.defaults chooser.o : Make.defaults $(SUBDIRS): dummy - mkdir -p $@ - $(MAKE) -C $@ -f $(SRCDIR)/../$@/Makefile SRCDIR=$(SRCDIR)/../$@ ARCH=$(ARCH) + $(MAKE) -C $@ dummy: @@ -111,4 +106,4 @@ ifeq ($(GCC_VERSION),2) @exit 1 endif -include $(SRCDIR)/Make.rules +include Make.rules