]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.in
build: Create section for para_filter.
[paraslash.git] / Makefile.in
index 3ed44475ab49b3f45d2e9d8a30f7e5c1cf85d371..8f42f14820fe45eb1acd40ae0151496b6ea1e3f5 100644 (file)
@@ -41,6 +41,7 @@ gcrypt_ldflags := @gcrypt_ldflags@
 socket_ldflags := @socket_ldflags@
 nsl_ldflags := @nsl_ldflags@
 curses_ldflags := @curses_ldflags@
+core_audio_ldflags := @core_audio_ldflags@
 
 build_date := $(shell date)
 uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
@@ -275,10 +276,11 @@ ifeq ($(findstring clean, $(MAKECMDGOALS)),)
 endif
 
 para_recv para_afh para_play para_server: LDFLAGS += $(id3tag_ldflags)
-para_write para_play para_audiod: LDFLAGS += $(ao_ldflags)
+para_write para_play para_audiod: LDFLAGS += $(ao_ldflags) $(core_audio_ldflags)
 para_client para_audioc para_play : LDFLAGS += $(readline_ldflags)
 para_server: LDFLAGS += $(osl_ldflags)
 para_gui: LDFLAGS += $(curses_ldflags)
+para_filter: LDFLAGS += -lm
 para_server \
 para_client \
 para_audiod \
@@ -329,7 +331,7 @@ para_recv: $(recv_objs)
 
 para_filter: $(filter_objs)
        @[ -z "$(Q)" ] || echo 'LD $@'
-       $(Q) $(CC) $(filter_objs) -o $@ @filter_ldflags@ $(LDFLAGS)
+       $(Q) $(CC) $(filter_objs) -o $@ $(LDFLAGS)
 
 para_client: $(client_objs)
        @[ -z "$(Q)" ] || echo 'LD $@'