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