annotate libmenu/Makefile @ 21090:777e1db59946

Oops, the loader stuff needs to be in COMMON_LIBS.
author diego
date Mon, 20 Nov 2006 14:49:08 +0000
parents 618d1857f4c4
children 68df3b19a160
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
1
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
2 include ../config.mak
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
3
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
4 LIBNAME = libmenu.a
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
5
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
6 SRCS= menu.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
7 vf_menu.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
8 menu_cmdlist.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9 menu_pt.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
10 menu_list.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
11 menu_filesel.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12 menu_txt.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
13 menu_console.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
14 menu_param.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
15
10626
fd97f3727f15 Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents: 8623
diff changeset
16 ifeq ($(DVBIN),yes)
fd97f3727f15 Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents: 8623
diff changeset
17 SRCS += menu_dvbin.c
fd97f3727f15 Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents: 8623
diff changeset
18 endif
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
19 OBJS=$(SRCS:.c=.o)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
20
19431
ac69ba536915 Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
diego
parents: 19420
diff changeset
21 CFLAGS = -I. -I.. $(OPTFLAGS)
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
22
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
23 .SUFFIXES: .c .o
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
24
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
25
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
26 .c.o:
19049
c0d96b4ff0af Simplify includes.
diego
parents: 19037
diff changeset
27 $(CC) -c $(CFLAGS) -o $@ $<
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
28
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
29 $(LIBNAME): $(OBJS)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
30 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10791
diff changeset
31 $(RANLIB) $(LIBNAME)
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
32
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
33 all: $(LIBNAME)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
34
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
35 clean:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
36 rm -f *.o *.a *~
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
37
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17381
diff changeset
38 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17381
diff changeset
39 rm -f .depend
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
40
21080
618d1857f4c4 Unify dep/depend targets.
diego
parents: 19431
diff changeset
41 dep depend:
19049
c0d96b4ff0af Simplify includes.
diego
parents: 19037
diff changeset
42 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
43
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
44 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
45 # include dependency files if they exist
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
46 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
47 ifneq ($(wildcard .depend),)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
48 include .depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
49 endif