Mercurial > mplayer.hg
annotate Gui/Makefile @ 17424:2ffede69ea15
FAQ about problems with playing DVDs on certain drives.
Also addresses http://bugzilla.mplayerhq.hu/show_bug.cgi?id=395 .
author | rathann |
---|---|
date | Wed, 18 Jan 2006 21:37:55 +0000 |
parents | 418f64d01554 |
children | 399f91dd4fbe |
rev | line source |
---|---|
1693 | 1 include ../config.mak |
2 include config.mak | |
3 | |
17396 | 4 LIBNAME = libgui.a |
5 | |
13787
e047e70a9767
Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents:
12707
diff
changeset
|
6 INCDIR = -I. -I.. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) |
1693 | 7 |
17381
7af5fe0860a1
This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents:
13787
diff
changeset
|
8 OPTIMIZE = $(OPTFLAGS) |
1693 | 9 |
10 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) | |
11 | |
8058 | 12 SRCS = wm/ws.c wm/wsxdnd.c app.c interface.c cfg.c bitmap.c \ |
6625 | 13 skin/skin.c skin/font.c skin/cut.c \ |
8973 | 14 mplayer/widgets.c mplayer/play.c mplayer/mw.c mplayer/sw.c mplayer/menu.c mplayer/pb.c mplayer/common.c \ |
8181 | 15 mplayer/gtk/menu.c mplayer/gtk/mb.c mplayer/gtk/about.c mplayer/gtk/pl.c mplayer/gtk/sb.c mplayer/gtk/fs.c mplayer/gtk/opts.c mplayer/gtk/url.c mplayer/gtk/eq.c mplayer/gtk/common.c |
6625 | 16 OBJS = $(SRCS:.c=.o) |
17 | |
1693 | 18 .SUFFIXES: .c .o |
19 | |
20 .c.o: | |
21 $(CC) -c $(CFLAGS) -o $@ $< | |
22 | |
23 ### TARGETS ### | |
24 | |
17396 | 25 $(LIBNAME): .depend $(OBJS) |
26 rm -f $(LIBNAME) | |
27 $(AR) rc $(LIBNAME) $(OBJS) $(MPLAYEROBJS) | |
28 $(RANLIB) $(LIBNAME) | |
1693 | 29 |
17396 | 30 all: $(LIBNAME) |
1693 | 31 |
32 clean: | |
17396 | 33 rm -rf $(OBJS) *.o *~ *.bak main $(LIBNAME) .depend |
1693 | 34 |
35 #dep: depend | |
36 # | |
37 #depend: | |
38 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
39 # | |
40 | |
41 distclean: clean | |
42 | |
43 dep: depend | |
44 | |
45 depend: .depend | |
46 | |
6625 | 47 .depend: Makefile config.mak |
1693 | 48 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
49 | |
50 # | |
51 # include dependency files if they exist | |
52 # | |
53 ifneq ($(wildcard .depend),) | |
54 include .depend | |
55 endif |