annotate audtool/Makefile @ 1210:2419d0da1725 trunk

[svn] - boom
author nenolod
date Wed, 14 Jun 2006 00:27:49 -0700
parents
children 04730ff1693d
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
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
2 include ../mk/objective.mk
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
3
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
4 beepincludedir = $(includedir)/audacious
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
5
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
6 OBJECTIVE_BINS = audtool
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
7
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
8 LDFLAGS += -Wl,-export-dynamic
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
9 LDADD = \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
10 $(GTK_LIBS) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
11 $(LIBGLADE_LIBS) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
12 -L.. $(LTLIBINTL) \
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
13 -L../libaudacious -laudacious
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)
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
28 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir}
2419d0da1725 [svn] - boom
nenolod
parents:
diff changeset
29 @printf "%10s %-20s\n" LINK $@