]> code.delx.au - refind/blobdiff - EfiLib/Makefile
Properly initialise variable to fix detection of non-Arch kernel versions
[refind] / EfiLib / Makefile
index 8487805d5a9aeb9e5ebca9fac0f66cd57ecb08b3..39d6be67290af44f064b625c99e49fddd623958a 100644 (file)
@@ -2,5 +2,23 @@
 # EfiLib/Makefile
 #
 
+# This program is licensed under the terms of the GNU GPL, version 3,
+# or (at your option) any later version.
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+SRCDIR = .
+
+VPATH = $(SRCDIR)
+
+LOCAL_GNUEFI_CFLAGS  = -I$(SRCDIR) -I$(SRCDIR)/../include
+
+OBJS            = gnuefi-helper.o legacy.o BdsHelper.o BdsTianoCore.o
+TARGET          = libEfiLib.a
+
+all: $(TARGET)
+
+include $(SRCDIR)/../Make.common
+
 clean:
-       rm -f *.o *.obj *~ *.lib
+       rm -f *.o *.obj *~ *.lib *.a