]> code.delx.au - refind/blobdiff - refind/Makefile
Work around keyboard input problem in gptsync on some Macs. Minor
[refind] / refind / Makefile
index afda38abef3a60b8b012ccd10734e094cd0420eb..88fbc407775cede3141c68614b438752275b686a 100644 (file)
@@ -30,18 +30,23 @@ ifeq ($(ARCH),aarch64)
   TARGET = refind_aa64.efi
 endif
 
-LOCAL_GNUEFI_CFLAGS  = -I$(SRCDIR) -I$(SRCDIR)/../include -I$(SRCDIR)/../libeg -I$(SRCDIR)/../mok
-LOCAL_LDFLAGS   = -L$(SRCDIR)/../libeg/ -L$(SRCDIR)/../mok/ -L$(SRCDIR)/../EfiLib/
+LOCAL_GNUEFI_CFLAGS  = -I$(SRCDIR) -I$(SRCDIR)/../include \
+                       -I$(SRCDIR)/../libeg -I$(SRCDIR)/../mok
+LOCAL_LDFLAGS   = -L$(SRCDIR)/../libeg/ -L$(SRCDIR)/../mok/ \
+                  -L$(SRCDIR)/../EfiLib/
 LOCAL_LIBS      = -leg -lmok -lEfiLib
 
-OBJS            = main.o mystrings.o apple.o line_edit.o config.o menu.o screen.o icns.o gpt.o crc32.o lib.o driver_support.o legacy.o
+OBJS            = main.o mystrings.o apple.o line_edit.o config.o menu.o \
+                  screen.o icns.o gpt.o crc32.o lib.o driver_support.o \
+                 legacy.o
 
 include $(SRCDIR)/../Make.common
 
 all: $(TARGET)
 
 $(SHLIB_TARGET): $(OBJS)
-       $(LD) $(LOCAL_LDFLAGS) $(GNUEFI_LDFLAGS) $(SUBSYSTEM_LDFLAG) $(OBJS) -o $@ $(LOCAL_LIBS) $(GNUEFI_LIBS)
+       $(LD) $(LOCAL_LDFLAGS) $(GNUEFI_LDFLAGS) $(SUBSYSTEM_LDFLAG) $(OBJS) \
+             -o $@ $(LOCAL_LIBS) $(GNUEFI_LIBS)
 
 $(TARGET): $(SHLIB_TARGET)
        $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
@@ -50,7 +55,6 @@ $(TARGET): $(SHLIB_TARGET)
        chmod a-x $(TARGET)
 
 clean:
-       rm -f $(TARGET) *~ *.so $(OBJS) *.efi *.obj refind_*.txt refind_*.dll *.lib
+       rm -f $(TARGET) *~ *.so $(OBJS) *.efi *.obj refind_*.txt \
+               refind_*.dll *.lib
 
-# EOF
-# DO NOT DELETE