Mercurial > mplayer.hg
annotate Gui/Makefile @ 8256:cde8aaad8198
This file gets created during the wine/svq3 build process.
author | diego |
---|---|
date | Sat, 23 Nov 2002 11:45:44 +0000 |
parents | 97e8dfe61ab1 |
children | 226e6866212d |
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 |
9 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \ | |
8255
97e8dfe61ab1
check for -Wall support & use it if available patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
michael
parents:
8181
diff
changeset
|
10 -fexpensive-optimizations -fschedule-insns2 |
2025
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
11 ifeq ($(TARGET_ARCH_X86),yes) |
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
12 OPTIMIZE += -malign-double |
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
13 endif |
1693 | 14 |
15 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) | |
16 | |
8058 | 17 SRCS = wm/ws.c wm/wsxdnd.c app.c interface.c cfg.c bitmap.c \ |
6625 | 18 skin/skin.c skin/font.c skin/cut.c \ |
8058 | 19 mplayer/widgets.c mplayer/play.c mplayer/mw.c mplayer/sw.c mplayer/menu.c \ |
8181 | 20 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 | 21 OBJS = $(SRCS:.c=.o) |
22 | |
1693 | 23 .SUFFIXES: .c .o |
24 | |
25 .c.o: | |
26 $(CC) -c $(CFLAGS) -o $@ $< | |
27 | |
28 ### TARGETS ### | |
29 | |
30 $(LIB): .depend $(OBJS) | |
31 rm -f $(LIB) | |
6036 | 32 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS) |
1693 | 33 |
34 all: $(LIB) | |
35 | |
36 clean: | |
37 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend | |
38 | |
39 #dep: depend | |
40 # | |
41 #depend: | |
42 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
43 # | |
44 | |
45 distclean: clean | |
46 | |
47 dep: depend | |
48 | |
49 depend: .depend | |
50 | |
6625 | 51 .depend: Makefile config.mak |
1693 | 52 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
53 | |
54 # | |
55 # include dependency files if they exist | |
56 # | |
57 ifneq ($(wildcard .depend),) | |
58 include .depend | |
59 endif |