mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 01:47:38 +00:00
Use DEPEND_CMD as set by configure to generate dependency information instead
of hardcoding a gcc-specific command. This also fixes dependency generation for files in subdirectories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26338 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
730bff7914
commit
8109559bf8
@ -27,8 +27,8 @@ clean::
|
||||
distclean:: clean
|
||||
rm -f .depend test test2
|
||||
|
||||
dep depend::
|
||||
$(CC) -MM $(CFLAGS) $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER) > .depend
|
||||
dep depend:: $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER)
|
||||
$(DEPEND_CMD) > .depend
|
||||
|
||||
%.ho: %.h
|
||||
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<
|
||||
|
Loading…
Reference in New Issue
Block a user