summaryrefslogtreecommitdiffstats
path: root/libmenu/Makefile
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-14 23:47:11 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-14 23:47:11 +0000
commitc83ebc0b7df94135390661a0d7a1a7b9bda57462 (patch)
tree5c1a489baddf23a95de12d1a678599f0da04f399 /libmenu/Makefile
parent54e31581a3cc8cd5501baa8553ab0a1cf2a75bee (diff)
downloadmpv-c83ebc0b7df94135390661a0d7a1a7b9bda57462.tar.bz2
mpv-c83ebc0b7df94135390661a0d7a1a7b9bda57462.tar.xz
OSD menus initial version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8198 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmenu/Makefile')
-rw-r--r--libmenu/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/libmenu/Makefile b/libmenu/Makefile
new file mode 100644
index 0000000000..7886c13679
--- /dev/null
+++ b/libmenu/Makefile
@@ -0,0 +1,38 @@
+
+include ../config.mak
+
+LIBNAME = libmenu.a
+
+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
+OBJS=$(SRCS:.c=.o)
+
+CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) -Wall
+
+.SUFFIXES: .c .o
+
+
+.c.o:
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+$(LIBNAME): $(OBJS)
+ $(AR) r $(LIBNAME) $(OBJS)
+
+all: $(LIBNAME)
+
+clean:
+ rm -f *.o *.a *~
+
+distclean:
+ rm -f Makefile.bak *.o *.a *~ .depend
+
+dep: depend
+
+depend:
+ $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+
+#
+# include dependency files if they exist
+#
+ifneq ($(wildcard .depend),)
+include .depend
+endif