comparison Makefile @ 17841:73db10d5f2e3

remove mp_msg.c dependency when compiling codec-cfg binary. Fixes MinGW compilation (caused by missing -liconv), this solution seems best to me because of e.g. cross-compilation issues just adding -liconv might cause.
author reimar
date Sun, 12 Mar 2006 23:06:09 +0000
parents dca06252af6c
children 180736f5c1d8
comparison
equal deleted inserted replaced
17840:42843606bc06 17841:73db10d5f2e3
446 # help_mp.h is also required by a lot of files, so force generating it early. 446 # help_mp.h is also required by a lot of files, so force generating it early.
447 $(MPLAYER_DEP): version.h help_mp.h 447 $(MPLAYER_DEP): version.h help_mp.h
448 $(MENCODER_DEP): version.h help_mp.h 448 $(MENCODER_DEP): version.h help_mp.h
449 449
450 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h 450 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
451 $(HOST_CC) $(HOST_CFLAGS) -I. codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(EXTRA_INC) $(I18NLIBS) 451 $(HOST_CC) $(HOST_CFLAGS) -I. codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(EXTRA_INC)
452 452
453 install: $(ALL_PRG) 453 install: $(ALL_PRG)
454 ifeq ($(VIDIX),yes) 454 ifeq ($(VIDIX),yes)
455 $(DO_MAKE) 455 $(DO_MAKE)
456 endif 456 endif