changeset 3485:87003549ac36 trunk

Fix audacious build dependencies. Probably still broken, but less so.
author Kieran Clancy <clancy.kieran+audacious@gmail.com>
date Mon, 10 Sep 2007 17:14:45 +0930
parents 7b5353d0ae50
children 96baf555b449 6f8005df972f
files src/audacious/Makefile
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Mon Sep 10 00:56:32 2007 -0500
+++ b/src/audacious/Makefile	Mon Sep 10 17:14:45 2007 +0930
@@ -1,12 +1,11 @@
 include ../../mk/rules.mk
 include ../../mk/init.mk
+include ../../mk/objective.mk
 
 SUBDIRS = $(INTL_OBJECTIVE) glade images ui
 
 OBJECTIVE_BINS = audacious
 
-include ../../mk/objective.mk
-
 LDFLAGS += $(AUDLDFLAGS)
 
 LDADD = \
@@ -188,6 +187,10 @@
 
 build-prehook: $(PCH)
 
+audacious: $(OBJECTS) $(LIBDEP)
+	$(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
+	@printf "%10s     %-20s\n" LINK $@
+
 dbus-server-bindings.h: $(DBUS_BINDINGS_SOURCES)
 	$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=audacious_rc objects.xml > $@
 	$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_root mpris_root.xml >> $@