Mercurial > audlegacy
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 |
rev | line source |
---|---|
1210 | 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 | 3 include ../mk/objective.mk |
4 | |
5 beepincludedir = $(includedir)/audacious | |
6 | |
7 OBJECTIVE_BINS = audtool | |
8 | |
9 LDFLAGS += -Wl,-export-dynamic | |
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 | 13 $(GTK_LIBS) \ |
1455
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1210
diff
changeset
|
14 $(LIBGLADE_LIBS) |
1210 | 15 |
16 CFLAGS += \ | |
17 $(GTK_CFLAGS) \ | |
18 $(LIBGLADE_CFLAGS) \ | |
19 $(BEEP_DEFINES) \ | |
20 $(ARCH_DEFINES) \ | |
21 -I.. \ | |
22 -I../intl | |
23 | |
24 SOURCES = audtool.c | |
25 | |
26 OBJECTS = ${SOURCES:.c=.o} | |
27 | |
28 audtool: $(OBJECTS) | |
29 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ -Wl,-rpath,${libdir} | |
30 @printf "%10s %-20s\n" LINK $@ |