comparison Makefile @ 15163:54c257370678

cross-compilation fix: don't use target CFLAGS to compile host tools
author aurel
date Fri, 15 Apr 2005 14:55:03 +0000
parents f5a8c71d94cf
children 9dda4cbf1211
comparison
equal deleted inserted replaced
15162:9c7c363837c9 15163:54c257370678
275 # help_mp.h is also required by a lot of files, so force generating it early. 275 # help_mp.h is also required by a lot of files, so force generating it early.
276 $(MPLAYER_DEP): version.h help_mp.h 276 $(MPLAYER_DEP): version.h help_mp.h
277 $(MENCODER_DEP): version.h help_mp.h 277 $(MENCODER_DEP): version.h help_mp.h
278 278
279 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h 279 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
280 $(HOST_CC) $(CFLAGS) -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(I18NLIBS) 280 $(HOST_CC) $(HOST_CFLAGS) -I. -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(I18NLIBS)
281 281
282 install: $(ALL_PRG) 282 install: $(ALL_PRG)
283 ifeq ($(VIDIX),yes) 283 ifeq ($(VIDIX),yes)
284 $(DO_MAKE) 284 $(DO_MAKE)
285 endif 285 endif