Mercurial > mplayer.hg
comparison libmenu/Makefile @ 19049:c0d96b4ff0af
Simplify includes.
author | diego |
---|---|
date | Wed, 12 Jul 2006 23:50:29 +0000 |
parents | 7a9a9748e045 |
children | 1ea5c31932fd |
comparison
equal
deleted
inserted
replaced
19048:236605d1ffb7 | 19049:c0d96b4ff0af |
---|---|
17 SRCS += menu_dvbin.c | 17 SRCS += menu_dvbin.c |
18 EXTRA_INC += $(DVB_INC) | 18 EXTRA_INC += $(DVB_INC) |
19 endif | 19 endif |
20 OBJS=$(SRCS:.c=.o) | 20 OBJS=$(SRCS:.c=.o) |
21 | 21 |
22 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs | 22 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(FREETYPE_INC) |
23 | 23 |
24 .SUFFIXES: .c .o | 24 .SUFFIXES: .c .o |
25 | 25 |
26 | 26 |
27 .c.o: | 27 .c.o: |
28 $(CC) -c $(CFLAGS) $(FREETYPE_INC) -o $@ $< | 28 $(CC) -c $(CFLAGS) -o $@ $< |
29 | 29 |
30 $(LIBNAME): $(OBJS) | 30 $(LIBNAME): $(OBJS) |
31 $(AR) r $(LIBNAME) $(OBJS) | 31 $(AR) r $(LIBNAME) $(OBJS) |
32 $(RANLIB) $(LIBNAME) | 32 $(RANLIB) $(LIBNAME) |
33 | 33 |
40 rm -f .depend | 40 rm -f .depend |
41 | 41 |
42 dep: depend | 42 dep: depend |
43 | 43 |
44 depend: | 44 depend: |
45 $(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend | 45 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
46 | 46 |
47 # | 47 # |
48 # include dependency files if they exist | 48 # include dependency files if they exist |
49 # | 49 # |
50 ifneq ($(wildcard .depend),) | 50 ifneq ($(wildcard .depend),) |