X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=8a769607d57b4930ff62e37f73ea0d84ea4ce273;hp=3fbbce21ab5f3fe91d674750a4d3f7804c346188;hb=d148baae9e045d55bf298740da59585e46f6b89a;hpb=9417eae5ca2b9f10d25f769221e8fd91048bc68a diff --git a/Makefile.in b/Makefile.in index 3fbbce21..8a769607 100644 --- a/Makefile.in +++ b/Makefile.in @@ -54,7 +54,7 @@ CPPFLAGS += -Wbad-function-cast CPPFLAGS += -fno-strict-aliasing CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F) CPPFLAGS += @SSL_CPPFLAGS@ -CPPFLAGS += @ncurses_cppflags@ +CPPFLAGS += @curses_cppflags@ CPPFLAGS += @arch_cppflags@ CPPFLAGS += -I/usr/local/include CPPFLAGS += -I$(cmdline_dir) @@ -99,9 +99,10 @@ else Q = @ endif -.PHONY: all clean distclean maintainer-clean install man tarball\ +.PHONY: dep all clean distclean maintainer-clean install man tarball\ .FORCE-GIT-VERSION-FILE -all: @executables@ $(man_pages) +all: dep @executables@ $(man_pages) +dep: $(deps) man: $(man_pages) tarball: $(tarball) @@ -224,8 +225,10 @@ all_objs := $(recv_objs) $(filter_objs) $(client_objs) $(gui_objs) \ $(audiod_objs) $(audioc_objs) $(fade_objs) $(server_objs) \ $(write_objs) $(afh_objs) +deps := $(all_objs:.o=.d) + ifeq ($(findstring clean, $(MAKECMDGOALS)),) --include $(all_objs:.o=.d) +-include $(deps) endif para_recv: $(recv_objs) @@ -242,7 +245,7 @@ para_client: $(client_objs) para_gui: $(gui_objs) @[ -z "$(Q)" ] || echo 'LD $@' - $(Q) $(CC) $(LDFLAGS) -o $@ $(gui_objs) -lncurses + $(Q) $(CC) $(LDFLAGS) -o $@ $(gui_objs) -lcurses para_audiod: audiod_command_list.c audiod_command_list.h $(audiod_objs) @[ -z "$(Q)" ] || echo 'LD $@'