comparison src/audacious/Makefile @ 2691:ecfb79d60c3a trunk

[svn] maintenance of build system: - LIBDEP macro has been introduced as like audacious plugins r1888. - make rules such as $(AR) cq $@ $(OBJECTS) in individual Makefile have been removed. these linkage will be done through objective.mk.
author yaz
date Mon, 30 Apr 2007 20:49:38 -0700
parents a2afa6ca7294
children c2b82432c1b6
comparison
equal deleted inserted replaced
2690:62579e205746 2691:ecfb79d60c3a
108 visualization.c \ 108 visualization.c \
109 xconvert.c 109 xconvert.c
110 110
111 OBJECTS = ${SOURCES:.c=.o} 111 OBJECTS = ${SOURCES:.c=.o}
112 112
113 LIBDEP = widgets/libwidgets.a ../libguess/libguess.a ../librcd/librcd.a
114
113 desktop_DATA = audacious.desktop 115 desktop_DATA = audacious.desktop
114 desktopdir = $(datadir)/applications 116 desktopdir = $(datadir)/applications
115 117
116 audacious: $(OBJECTS) widgets/libwidgets.a 118 audacious: $(OBJECTS) $(LIBDEP)
117 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ 119 $(CXX) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@
118 @printf "%10s %-20s\n" LINK $@ 120 @printf "%10s %-20s\n" LINK $@
119 121
120 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications 122 OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications