Mercurial > audlegacy
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 |
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 | |
1631 | 9 LDFLAGS += $(AUDLDFLAGS) |
1210 | 10 LDADD = \ |
1455
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1210
diff
changeset
|
11 -L../libaudacious -laudacious \ |
1210 | 12 $(GTK_LIBS) \ |
1455
04730ff1693d
[svn] changes link order to avoid linkage with installed library.
yaz
parents:
1210
diff
changeset
|
13 $(LIBGLADE_LIBS) |
1210 | 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) | |
1631 | 28 $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ |
1210 | 29 @printf "%10s %-20s\n" LINK $@ |