Mercurial > mplayer.hg
annotate Gui/Makefile @ 6843:72a8d1d91472
1l :)
author | arpi |
---|---|
date | Tue, 30 Jul 2002 16:40:42 +0000 |
parents | 77980ab4e296 |
children | 0fa27966ac47 |
rev | line source |
---|---|
1693 | 1 |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | |
5 include config.mak | |
6 | |
2112 | 7 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC) $(EXTRA_INC) |
1693 | 8 |
9 OPTIMIZE = $(OPTFLAGS) -fomit-frame-pointer \ | |
2024
8cb7643ef739
Remved cpu specific compiler optimizations, these should if at all be added dynamically by configure.
atmos4
parents:
1866
diff
changeset
|
10 -fexpensive-optimizations -fschedule-insns2 -Wall |
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 | |
6794 | 17 SRCS = wm/ws.c wm/wsconv.c app.c events.c interface.c cfg.c \ |
6625 | 18 bitmap/bitmap.c bitmap/tga/tga.c bitmap/bmp/bmp.c bitmap/png/png.c \ |
19 skin/skin.c skin/font.c skin/cut.c \ | |
20 mplayer/mplayer.c mplayer/widgets.c mplayer/play.c \ | |
21 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 | |
22 OBJS = $(SRCS:.c=.o) | |
23 | |
1693 | 24 .SUFFIXES: .c .o |
25 | |
26 .c.o: | |
27 $(CC) -c $(CFLAGS) -o $@ $< | |
28 | |
29 ### TARGETS ### | |
30 | |
31 $(LIB): .depend $(OBJS) | |
32 rm -f $(LIB) | |
6036 | 33 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS) |
1693 | 34 |
35 all: $(LIB) | |
36 | |
37 clean: | |
38 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend | |
39 | |
40 #dep: depend | |
41 # | |
42 #depend: | |
43 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null | |
44 # | |
45 | |
46 distclean: clean | |
47 | |
48 dep: depend | |
49 | |
50 depend: .depend | |
51 | |
6625 | 52 .depend: Makefile config.mak |
1693 | 53 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
54 | |
55 # | |
56 # include dependency files if they exist | |
57 # | |
58 ifneq ($(wildcard .depend),) | |
59 include .depend | |
60 endif |