2002-11-14 23:47:11 +00:00
|
|
|
|
|
|
|
include ../config.mak
|
|
|
|
|
|
|
|
LIBNAME = libmenu.a
|
|
|
|
|
2006-03-25 10:38:37 +00:00
|
|
|
SRCS= menu.c \
|
|
|
|
vf_menu.c \
|
|
|
|
menu_cmdlist.c \
|
|
|
|
menu_pt.c \
|
|
|
|
menu_list.c \
|
|
|
|
menu_filesel.c \
|
|
|
|
menu_txt.c \
|
|
|
|
menu_console.c \
|
|
|
|
menu_param.c \
|
|
|
|
|
2003-08-16 09:51:05 +00:00
|
|
|
ifeq ($(DVBIN),yes)
|
|
|
|
SRCS += menu_dvbin.c
|
2003-09-02 14:00:37 +00:00
|
|
|
EXTRA_INC += $(DVB_INC)
|
2003-08-16 09:51:05 +00:00
|
|
|
endif
|
2002-11-14 23:47:11 +00:00
|
|
|
OBJS=$(SRCS:.c=.o)
|
|
|
|
|
2006-01-13 23:38:16 +00:00
|
|
|
CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC)
|
2002-11-14 23:47:11 +00:00
|
|
|
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
|
|
|
|
|
|
|
|
.c.o:
|
2002-11-18 00:09:37 +00:00
|
|
|
$(CC) -c $(CFLAGS) $(FREETYPE_INC) -o $@ $<
|
2002-11-14 23:47:11 +00:00
|
|
|
|
|
|
|
$(LIBNAME): $(OBJS)
|
|
|
|
$(AR) r $(LIBNAME) $(OBJS)
|
2004-06-24 12:52:17 +00:00
|
|
|
$(RANLIB) $(LIBNAME)
|
2002-11-14 23:47:11 +00:00
|
|
|
|
|
|
|
all: $(LIBNAME)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.a *~
|
|
|
|
|
2006-01-27 00:06:42 +00:00
|
|
|
distclean: clean
|
|
|
|
rm -f .depend
|
2002-11-14 23:47:11 +00:00
|
|
|
|
|
|
|
dep: depend
|
|
|
|
|
|
|
|
depend:
|
2002-12-28 18:51:10 +00:00
|
|
|
$(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend
|
2002-11-14 23:47:11 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# include dependency files if they exist
|
|
|
|
#
|
|
|
|
ifneq ($(wildcard .depend),)
|
|
|
|
include .depend
|
|
|
|
endif
|