annotate audtool/Makefile @ 1615:e402e0217870 trunk

[svn] - fix for the long-standing dependency oddness in our build system. now make tool surely picks up changed source files and builds required objectives.
author yaz
date Mon, 04 Sep 2006 19:47:32 -0700
parents 04730ff1693d
children 20ff61083530
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1210
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
1 include ../mk/rules.mk
1615
e402e0217870 [svn] - fix for the long-standing dependency oddness in our build system. now make tool surely picks up changed source files and builds required objectives.
yaz
parents: 1455
diff changeset
2 include ../mk/init.mk
1210
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
3 include ../mk/objective.mk
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
4
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
5 beepincludedir = $(includedir)/audacious
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
6
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
7 OBJECTIVE_BINS = audtool
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
8
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
9 LDFLAGS += -Wl,-export-dynamic
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
10 LDADD = \
1455
04730ff1693d [svn] changes link order to avoid linkage with installed library.
yaz
parents: 1210
diff changeset
11 -L.. $(LTLIBINTL) \
04730ff1693d [svn] changes link order to avoid linkage with installed library.
yaz
parents: 1210
diff changeset
12 -L../libaudacious -laudacious \
1210
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
13 $(GTK_LIBS) \
1455
04730ff1693d [svn] changes link order to avoid linkage with installed library.
yaz
parents: 1210
diff changeset
14 $(LIBGLADE_LIBS)
1210
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
15
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
16 CFLAGS += \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
17 $(GTK_CFLAGS) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
18 $(LIBGLADE_CFLAGS) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
19 $(BEEP_DEFINES) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
20 $(ARCH_DEFINES) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
21 -I.. \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
22 -I../intl
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
23
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
24 SOURCES = audtool.c
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
25
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
26 OBJECTS = ${SOURCES:.c=.o}
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
27
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
28 audtool: $(OBJECTS)
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
29 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir}
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
30 @printf "%10s %-20s\n" LINK $@