changeset 17396:418f64d01554

Change LIB to LIBNAME to fix compilation. This is in line with the other Makefiles and does not clash with FFmpeg.
author diego
date Sun, 15 Jan 2006 01:56:17 +0000
parents 0bc15a27a26b
children 2e20dd653147
files Gui/Makefile
diffstat 1 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/Makefile	Sat Jan 14 23:39:31 2006 +0000
+++ b/Gui/Makefile	Sun Jan 15 01:56:17 2006 +0000
@@ -1,9 +1,8 @@
-
-LIB	= libgui.a
-
 include ../config.mak
 include config.mak
 
+LIBNAME = libgui.a
+
 INCDIR  = -I. -I.. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) 
 
 OPTIMIZE =  $(OPTFLAGS)
@@ -23,15 +22,15 @@
 
 ### TARGETS ###
 
-$(LIB):	.depend	$(OBJS)
-	rm -f $(LIB)
-	$(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS)
-	$(RANLIB) $(LIB)
+$(LIBNAME): .depend $(OBJS)
+	rm -f $(LIBNAME)
+	$(AR) rc $(LIBNAME) $(OBJS) $(MPLAYEROBJS)
+	$(RANLIB) $(LIBNAME)
 
-all:	$(LIB)
+all:	$(LIBNAME)
 
 clean:
-	rm -rf $(OBJS) *.o *~ *.bak main $(LIB) .depend
+	rm -rf $(OBJS) *.o *~ *.bak main $(LIBNAME) .depend
 
 #dep:	depend
 #