annotate Gui/Makefile @ 6030:fab518e0cbb8

sometime source files have other frame rates than for vcd's and svcd's, so you have to set manually the frame rate with "-vfr". This patch introduce the option "-vfr". by Juergen Hammelmann <juergen.hammelmann@gmx.de>
author jaf
date Thu, 09 May 2002 10:27:36 +0000
parents 3997f8eec36e
children 5d543521dd06
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 LIB = libgui.a
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4 include ../config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 include config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 include bitmap/bitmap.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 MPLAYERDIR = mplayer/
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 include gui.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10
2112
3997f8eec36e BSD fixes
arpi
parents: 2025
diff changeset
11 INCDIR = -I. -I./event -I./wm -I./skin $(GTKINC) $(EXTRA_INC)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
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
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 $(LIB): .depend $(OBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 $(MAKE) -C mplayer
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 rm -f $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 ar rc $(LIB) $(OBJS) $(MPLAYEROBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 all: $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 clean:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 $(MAKE) -C mplayer clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 #dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41 #depend:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45 distclean: clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 depend: .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
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
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 $(MAKE) -C mplayer depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 endif