annotate Gui/Makefile @ 21231:1a963c0b58c5

Remove nonexistent variable.
author diego
date Sat, 25 Nov 2006 19:19:36 +0000
parents 80106fbd9ddc
children 92b122592776
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1 include ../config.mak
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2
17396
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
3 LIBNAME = libgui.a
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
4
21217
80106fbd9ddc simplify
diego
parents: 21216
diff changeset
5 CFLAGS = -I. -I.. -I../loader -I./wm -I./skin $(OPTFLAGS)
19998
b1cebdd78625 Do not compile with -DDEBUG by default.
diego
parents: 19493
diff changeset
6 #CFLAGS += -DDEBUG
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
8 ifeq ($(TARGET_WIN32),yes)
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
9 SRCS = win32/dialogs.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
10 win32/gui.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
11 win32/interface.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
12 win32/playlist.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
13 win32/preferences.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
14 win32/skinload.c \
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
15 win32/widgetrender.c \
19072
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
16 win32/wincfg.c \
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
17
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
18 else
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
19 SRCS = wm/ws.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
20 wm/wsxdnd.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
21 app.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
22 interface.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
23 cfg.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
24 bitmap.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
25 skin/skin.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
26 skin/font.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
27 skin/cut.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
28 mplayer/widgets.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
29 mplayer/play.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
30 mplayer/mw.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
31 mplayer/sw.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
32 mplayer/menu.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
33 mplayer/pb.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
34 mplayer/common.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
35 mplayer/gtk/menu.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
36 mplayer/gtk/mb.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
37 mplayer/gtk/about.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
38 mplayer/gtk/pl.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
39 mplayer/gtk/sb.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
40 mplayer/gtk/fs.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
41 mplayer/gtk/opts.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
42 mplayer/gtk/url.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17494
diff changeset
43 mplayer/gtk/eq.c \
19072
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
44 mplayer/gtk/common.c \
e6f5f7c26166 cosmetics to ease future patching
diego
parents: 19052
diff changeset
45
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
46 endif
6625
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
47 OBJS = $(SRCS:.c=.o)
54cfbaaf161b remove unneded config files
pontscho
parents: 6036
diff changeset
48
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
49 .SUFFIXES: .c .o
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51 .c.o:
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 $(CC) -c $(CFLAGS) -o $@ $<
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53
18483
42e57ea2b91f Make depend targets consistent: Remove redirection through .depend target.
diego
parents: 17943
diff changeset
54 $(LIBNAME): $(OBJS)
17396
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
55 rm -f $(LIBNAME)
21217
80106fbd9ddc simplify
diego
parents: 21216
diff changeset
56 $(AR) rc $(LIBNAME) $(OBJS)
17396
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
57 $(RANLIB) $(LIBNAME)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58
17396
418f64d01554 Change LIB to LIBNAME to fix compilation.
diego
parents: 17381
diff changeset
59 all: $(LIBNAME)
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
61 clean:
17494
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
62 rm -f *.o *.a *~ \
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
63 mplayer/*.o mplayer/*~ \
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
64 mplayer/gtk/*.o mplayer/gtk/*~ \
257c8575c5ab Also remove objects in subdirectories.
diego
parents: 17489
diff changeset
65 skin/*.o skin/*~ \
18913
2dc84d07332c Initial win32 gui release.
vayne
parents: 18483
diff changeset
66 wm/*.o wm/*~ \
19493
aa58338824f8 Remove backup files from the win32 subdir as well.
diego
parents: 19420
diff changeset
67 win32/*.o win32/*~ \
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
68
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
69 distclean: clean
17489
399f91dd4fbe Make clean/distclean behave uniformly in all directories.
diego
parents: 17396
diff changeset
70 rm -f .depend
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
71
21080
618d1857f4c4 Unify dep/depend targets.
diego
parents: 19998
diff changeset
72 dep depend:
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
73 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
74
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
75 ifneq ($(wildcard .depend),)
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
76 include .depend
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
77 endif