Mercurial > mplayer.hg
annotate libmenu/Makefile @ 9477:fd4d38aa0e08
100l (gcc 3.2 .....)
author | michael |
---|---|
date | Fri, 21 Feb 2003 22:01:00 +0000 |
parents | 440301fef3fe |
children | fd97f3727f15 |
rev | line source |
---|---|
8197 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmenu.a | |
5 | |
6 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 | |
7 OBJS=$(SRCS:.c=.o) | |
8 | |
9 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) -Wall | |
10 | |
11 .SUFFIXES: .c .o | |
12 | |
13 | |
14 .c.o: | |
8224
fefc56153615
Fix freetype. Freetype is highly recommended for a nice output ;)
albeu
parents:
8197
diff
changeset
|
15 $(CC) -c $(CFLAGS) $(FREETYPE_INC) -o $@ $< |
8197 | 16 |
17 $(LIBNAME): $(OBJS) | |
18 $(AR) r $(LIBNAME) $(OBJS) | |
19 | |
20 all: $(LIBNAME) | |
21 | |
22 clean: | |
23 rm -f *.o *.a *~ | |
24 | |
25 distclean: | |
26 rm -f Makefile.bak *.o *.a *~ .depend | |
27 | |
28 dep: depend | |
29 | |
30 depend: | |
8623
440301fef3fe
Added/reordered #includes to silence warnings about "implicit declaration".
rathann
parents:
8224
diff
changeset
|
31 $(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend |
8197 | 32 |
33 # | |
34 # include dependency files if they exist | |
35 # | |
36 ifneq ($(wildcard .depend),) | |
37 include .depend | |
38 endif |