diff src/audacious/Makefile @ 3429:05b732174e5f trunk

precompiled headers (part 1)
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 00:17:57 -0500
parents 86dafe2300f7
children 91c27073aa13
line wrap: on
line diff
--- a/src/audacious/Makefile	Sun Sep 02 16:24:31 2007 -0500
+++ b/src/audacious/Makefile	Fri Sep 07 00:17:57 2007 -0500
@@ -1,6 +1,5 @@
 include ../../mk/rules.mk
 include ../../mk/init.mk
-include ../../mk/objective.mk
 
 SUBDIRS = $(INTL_OBJECTIVE) glade images ui
 
@@ -182,9 +181,7 @@
 desktop_DATA = audacious.desktop
 desktopdir = $(datadir)/applications
 
-audacious: $(OBJECTS) $(LIBDEP)
-	$(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ 
-	@printf "%10s     %-20s\n" LINK $@
+build-prehook: $(PCH)
 
 dbus-server-bindings.h: $(DBUS_BINDINGS_SOURCES)
 	$(DBUS_BINDING_TOOL) --mode=glib-server --prefix=audacious_rc objects.xml > $@
@@ -198,3 +195,5 @@
 	@printf "%10s     %-20s\n" DBUS-BIND $@
 
 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications
+
+include ../../mk/objective.mk