summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gui/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/Gui/Makefile b/Gui/Makefile
index 486bc2c34f..7de001f26f 100644
--- a/Gui/Makefile
+++ b/Gui/Makefile
@@ -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 @@ OBJS = $(SRCS:.c=.o)
### 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
#