44 objs-
$(CONFIG_IRMAN
) += irman.o irman_config.o
46 CFLAGS
+= -I
$(top_builddir
) -I
$(top_srcdir
)/common
-I
$(srcdir) -g
$(PTHREAD_CFLAGS
) $(NCURSES_CFLAGS
) $(ICONV_CFLAGS
)
48 cmus
: $(objs-y
) $(top_builddir
)/common
/common.a
49 $(call cmd
,ld,$(PTHREAD_LIBS
) $(NCURSES_LIBS
) $(ICONV_LIBS
) $(DL_LIBS
) -lm
)
52 clean += $(objs-y
) $(objs-n
)
54 # If config.mk changes, rebuild all sources that include debug.h
56 # debug.h depends on DEBUG variable which is defined in config.mk
57 # if config.mk is newer than debug.h then touch debug.h
58 _dummy
:= $(shell [ $(top_builddir
)/config.mk
-nt
$(srcdir)/debug.h
] && touch
$(srcdir)/debug.h
)