1210
|
1 include ../mk/rules.mk
|
|
2 include ../mk/objective.mk
|
|
3
|
|
4 beepincludedir = $(includedir)/audacious
|
|
5
|
|
6 OBJECTIVE_BINS = audtool
|
|
7
|
|
8 LDFLAGS += -Wl,-export-dynamic
|
|
9 LDADD = \
|
|
10 $(GTK_LIBS) \
|
|
11 $(LIBGLADE_LIBS) \
|
|
12 -L.. $(LTLIBINTL) \
|
|
13 -L../libaudacious -laudacious
|
|
14
|
|
15 CFLAGS += \
|
|
16 $(GTK_CFLAGS) \
|
|
17 $(LIBGLADE_CFLAGS) \
|
|
18 $(BEEP_DEFINES) \
|
|
19 $(ARCH_DEFINES) \
|
|
20 -I.. \
|
|
21 -I../intl
|
|
22
|
|
23 SOURCES = audtool.c
|
|
24
|
|
25 OBJECTS = ${SOURCES:.c=.o}
|
|
26
|
|
27 audtool: $(OBJECTS)
|
|
28 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir}
|
|
29 @printf "%10s %-20s\n" LINK $@
|