]> code.delx.au - refind/blobdiff - libeg/Makefile
Properly initialise variable to fix detection of non-Arch kernel versions
[refind] / libeg / Makefile
index ce9a78dc9e20877762e2bdd8ae90851e9c4e7add..e0ca107f92eb2c299cf29fa57519065ef1ee87ea 100644 (file)
@@ -3,11 +3,16 @@
 # Build control file for the libeg library
 #
 
+# 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_CPPFLAGS  = -I$(SRCDIR) -I$(SRCDIR)/../include
+LOCAL_GNUEFI_CFLAGS  = -I$(SRCDIR) -I$(SRCDIR)/../include
 
 OBJS            = screen.o image.o text.o load_bmp.o load_icns.o lodepng.o lodepng_xtra.o
 TARGET          = libeg.a
@@ -16,4 +21,7 @@ all: $(TARGET)
 
 include $(SRCDIR)/../Make.common
 
+clean:
+       rm -f $(TARGET) *~ *.so $(OBJS) *.efi *.obj refind_*.txt refind_*.dll *.lib
+
 # EOF