annotate Gui/Makefile @ 8976:e005b55c3a0a

10l
author arpi
date Fri, 17 Jan 2003 23:50:53 +0000
parents 0a665389cf2b
children 6d6ba8e88e57
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
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
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16
8058
9246adcf95f0 cosmetic
pontscho
parents: 8046
diff changeset
17 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
18 skin/skin.c skin/font.c skin/cut.c \
8973
0a665389cf2b - add playbar
pontscho
parents: 8273
diff changeset
19 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
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
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
21 OBJS = $(SRCS:.c=.o)
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
22
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 ### TARGETS ###
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 $(LIB): .depend $(OBJS)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 rm -f $(LIB)
6036
5d543521dd06 patchs by Bj«Órn Sandell <biorn@dce.chalmers.se>:
pl
parents: 2112
diff changeset
32 $(AR) rc $(LIB) $(OBJS) $(MPLAYEROBJS)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 all: $(LIB)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 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
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
51 .depend: Makefile config.mak
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 # include dependency files if they exist
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 #
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59 endif