annotate libmenu/Makefile @ 10267:d953763cc555

libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>: Make sure that altivec gets enabled in libmpeg2
author arpi
date Mon, 09 Jun 2003 12:10:42 +0000
parents 440301fef3fe
children fd97f3727f15
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
8
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) -Wall
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
10
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
11 .SUFFIXES: .c .o
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
12
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
13
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
16
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
17 $(LIBNAME): $(OBJS)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
18 $(AR) r $(LIBNAME) $(OBJS)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
19
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
20 all: $(LIBNAME)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
21
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
22 clean:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
23 rm -f *.o *.a *~
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
24
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
25 distclean:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
26 rm -f Makefile.bak *.o *.a *~ .depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
27
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
28 dep: depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
29
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
32
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
33 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
34 # include dependency files if they exist
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
35 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
36 ifneq ($(wildcard .depend),)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
37 include .depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
38 endif