Mercurial > mplayer.hg
annotate Gui/Makefile @ 12300:95ea9f5f6f14
Fix embedded smil playlist detection if there are parameters on the url
author | rtognimp |
---|---|
date | Mon, 26 Apr 2004 19:33:37 +0000 |
parents | 6d6ba8e88e57 |
children | 80973aa180a5 |
rev | line source |
---|---|
1693 | 1 |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | |
5 include config.mak | |
6 | |
8136 | 7 INCDIR = -I. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) |
1693 | 8 |
8976 | 9 OPTIMIZE = $(OPTFLAGS) \ |
8273
226e6866212d
reversing my patch to check for -Wall support & use it if available (requested by A'rpi)
rathann
parents:
8255
diff
changeset
|
10 -fexpensive-optimizations -fschedule-insns2 -Wall |
1693 | 11 |
12 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) | |
13 | |
8058 | 14 SRCS = wm/ws.c wm/wsxdnd.c app.c interface.c cfg.c bitmap.c \ |
6625 | 15 skin/skin.c skin/font.c skin/cut.c \ |
8973 | 16 mplayer/widgets.c mplayer/play.c mplayer/mw.c mplayer/sw.c mplayer/menu.c mplayer/pb.c mplayer/common.c \ |
8181 | 17 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 | 18 OBJS = $(SRCS:.c=.o) |
19 | |
1693 | 20 .SUFFIXES: .c .o |
21 | |
22 .c.o: | |
23 $(CC) -c $(CFLAGS) -o $@ $< | |
24 | |
25 ### TARGETS ### | |
26 | |
27 $(LIB): .depend $(OBJS) | |
28 rm -f $(LIB) | |
6036 | 29 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS) |
1693 | 30 |
31 all: $(LIB) | |
32 | |
33 clean: | |
34 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend | |
35 | |
36 #dep: depend | |
37 # | |
38 #depend: | |
39 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
40 # | |
41 | |
42 distclean: clean | |
43 | |
44 dep: depend | |
45 | |
46 depend: .depend | |
47 | |
6625 | 48 .depend: Makefile config.mak |
1693 | 49 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
50 | |
51 # | |
52 # include dependency files if they exist | |
53 # | |
54 ifneq ($(wildcard .depend),) | |
55 include .depend | |
56 endif |