annotate audtool/Makefile @ 1917:01d4bed2c4c9 trunk

[svn] - svn is stoned again part 2
author nenolod
date Mon, 30 Oct 2006 13:41:36 -0800
parents 20ff61083530
children
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
1631
20ff61083530 [svn] - make audtool build
nenolod
parents: 1615
diff changeset
9 LDFLAGS += $(AUDLDFLAGS)
1210
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../libaudacious -laudacious \
1210
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
12 $(GTK_LIBS) \
1455
04730ff1693d [svn] changes link order to avoid linkage with installed library.
yaz
parents: 1210
diff changeset
13 $(LIBGLADE_LIBS)
1210
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
14
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
15 CFLAGS += \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
16 $(GTK_CFLAGS) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
17 $(LIBGLADE_CFLAGS) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
18 $(BEEP_DEFINES) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
19 $(ARCH_DEFINES) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
20 -I.. \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
21 -I../intl
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
22
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
23 SOURCES = audtool.c
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
24
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
25 OBJECTS = ${SOURCES:.c=.o}
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
26
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
27 audtool: $(OBJECTS)
1631
20ff61083530 [svn] - make audtool build
nenolod
parents: 1615
diff changeset
28 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
1210
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
29 @printf "%10s %-20s\n" LINK $@