From: Andre Noll Date: Fri, 16 Sep 2011 20:16:45 +0000 (+0200) Subject: Makefile: Drop dependencies on *_command_list.[ch]. X-Git-Tag: v0.4.9~6^2~1 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=cc80871b79a598660b2f46f7ce922df6345bf0a3;p=paraslash.git Makefile: Drop dependencies on *_command_list.[ch]. It is enough to let para_audiod and para_server depend on their object files only as these object files in turn depend on _command_list.[ch], so Mr Transitivity does the work for us. --- diff --git a/Makefile.in b/Makefile.in index 68aa6bc9..36a1b2ee 100644 --- a/Makefile.in +++ b/Makefile.in @@ -120,8 +120,6 @@ tarball: $(tarball) @[ -z "$(Q)" ] || echo 'GEN $@' $(Q) ./command_util.sh man < $< > $@ -server_command_lists_ch = server_command_list.c afs_command_list.c \ - server_command_list.h afs_command_list.h server_command_lists_man = server_command_list.man afs_command_list.man man/man1/para_server.1: para_server $(server_command_lists_man) | $(man_dir) @[ -z "$(Q)" ] || echo 'MAN $<' @@ -255,7 +253,7 @@ para_gui: $(gui_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(gui_objs) -lcurses -para_audiod: audiod_command_list.c audiod_command_list.h $(audiod_objs) +para_audiod: $(audiod_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(audiod_objs) @audiod_ldflags@ @@ -267,7 +265,7 @@ para_fade: $(fade_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(fade_objs) @fade_ldflags@ -para_server: $(server_command_lists_ch) $(server_objs) +para_server: $(server_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(server_objs) @server_ldflags@