X-Git-Url: https://code.delx.au/refind/blobdiff_plain/d63a7f66945791bf980b4545f0f0edf0e1608eeb..6ddfd09a30d788c784840b1f6dfc3d9281b33726:/refind/Makefile diff --git a/refind/Makefile b/refind/Makefile new file mode 100644 index 0000000..4c40c48 --- /dev/null +++ b/refind/Makefile @@ -0,0 +1,30 @@ +# +# refind/Makefile +# Build control file for the rEFInd boot menu +# + +SRCDIR = . + +VPATH = $(SRCDIR) + +ifeq ($(ARCH),ia32) + LIBEG = build32 +endif + +ifeq ($(ARCH),x86_64) + LIBEG = build64 +endif + +LOCAL_CPPFLAGS = -I$(SRCDIR) -I$(SRCDIR)/../include -I$(SRCDIR)/../libeg -DDEBIAN_VERSION="L\"$(DEBVER)\"" +LOCAL_LDFLAGS = -L$(SRCDIR)/../libeg/$(LIBEG) +LOCAL_LIBS = -leg + +OBJS = main.o config.o menu.o screen.o icns.o lib.o +TARGET = refind.efi + +all: $(TARGET) + +include $(SRCDIR)/../Make.common + +# EOF +# DO NOT DELETE