annotate Gui/Makefile @ 9934:89da8ec89558

vf_clone_mpi_attributes()
author michael
date Sat, 19 Apr 2003 02:48:53 +0000
parents 6d6ba8e88e57
children 80973aa180a5
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
8136
1831ce784783 fixed order of includes.
arpi
parents: 8058
diff changeset
7 INCDIR = -I. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8
8976
arpi
parents: 8973
diff changeset
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
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13
8058
9246adcf95f0 cosmetic
pontscho
parents: 8046
diff changeset
14 SRCS = wm/ws.c wm/wsxdnd.c app.c interface.c cfg.c bitmap.c \
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
15 skin/skin.c skin/font.c skin/cut.c \
8973
0a665389cf2b - add playbar
pontscho
parents: 8273
diff changeset
16 mplayer/widgets.c mplayer/play.c mplayer/mw.c mplayer/sw.c mplayer/menu.c mplayer/pb.c mplayer/common.c \
8181
pontscho
parents: 8136
diff changeset
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
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
18 OBJS = $(SRCS:.c=.o)
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
19
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 $(LIB): .depend $(OBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 rm -f $(LIB)
6036
5d543521dd06 patchs by Bj«Órn Sandell <biorn@dce.chalmers.se>:
pl
parents: 2112
diff changeset
29 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 all: $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 clean:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 rm -rf $(OBJS) *.o *~ *.bak main $(PRG) $(LIB) .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 #dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 #depend:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 # makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 distclean: clean
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 dep: depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 depend: .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
48 .depend: Makefile config.mak
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 endif