Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
8197 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmenu.a | |
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 | 19 OBJS=$(SRCS:.c=.o) |
20 | |
19431
ac69ba536915
Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
diego
parents:
19420
diff
changeset
|
21 CFLAGS = -I. -I.. $(OPTFLAGS) |
8197 | 22 |
23 .SUFFIXES: .c .o | |
24 | |
25 | |
26 .c.o: | |
19049 | 27 $(CC) -c $(CFLAGS) -o $@ $< |
8197 | 28 |
29 $(LIBNAME): $(OBJS) | |
30 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 31 $(RANLIB) $(LIBNAME) |
8197 | 32 |
33 all: $(LIBNAME) | |
34 | |
35 clean: | |
36 rm -f *.o *.a *~ | |
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 | 40 |
21080 | 41 dep depend: |
19049 | 42 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
8197 | 43 |
44 # | |
45 # include dependency files if they exist | |
46 # | |
47 ifneq ($(wildcard .depend),) | |
48 include .depend | |
49 endif |