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