Mercurial > mplayer.hg
annotate Gui/Makefile @ 5160:a0e5f66a162c
fix
author | gabucino |
---|---|
date | Sun, 17 Mar 2002 09:42:20 +0000 |
parents | 3997f8eec36e |
children | 5d543521dd06 |
rev | line source |
---|---|
1693 | 1 |
2 LIB = libgui.a | |
3 | |
4 include ../config.mak | |
5 include config.mak | |
6 | |
7 include bitmap/bitmap.mak | |
8 MPLAYERDIR = mplayer/ | |
9 include gui.mak | |
10 | |
2112 | 11 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC) $(EXTRA_INC) |
1693 | 12 |
13 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
|
14 -fexpensive-optimizations -fschedule-insns2 -Wall |
2025
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
15 ifeq ($(TARGET_ARCH_X86),yes) |
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
16 OPTIMIZE += -malign-double |
0653e90b3118
some bug fix, and sub window render speed up.. 10l kola ? :)
pontscho
parents:
2024
diff
changeset
|
17 endif |
1693 | 18 |
19 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) | |
20 | |
21 .SUFFIXES: .c .o | |
22 | |
23 .c.o: | |
24 $(CC) -c $(CFLAGS) -o $@ $< | |
25 | |
26 ### TARGETS ### | |
27 | |
28 $(LIB): .depend $(OBJS) | |
29 $(MAKE) -C mplayer | |
30 rm -f $(LIB) | |
31 ar rc $(LIB) $(OBJS) $(MPLAYEROBJS) | |
32 | |
33 all: $(LIB) | |
34 | |
35 clean: | |
36 $(MAKE) -C mplayer 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 | |
1866
32b1bb50a0e8
some bug fix, and add decoration item to skin conffile. faszom(C)
pontscho
parents:
1840
diff
changeset
|
51 .depend: Makefile config.mak gui.mak bitmap/bitmap.mak |
1693 | 52 $(MAKE) -C mplayer depend |
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 |