mirror of https://github.com/mpv-player/mpv
old-makefile: add options.lua
Also, make use of generic rules.
This commit is contained in:
parent
ce69afab44
commit
e29e567f07
15
old-makefile
15
old-makefile
|
@ -372,17 +372,13 @@ sub/osd_libass.c: sub/osd_font.h
|
|||
sub/osd_font.h: TOOLS/file2string.pl sub/osd_font.otf
|
||||
./$^ >$@
|
||||
|
||||
player/lua.c: player/lua/defaults.inc
|
||||
player/lua/defaults.inc: TOOLS/file2string.pl player/lua/defaults.lua
|
||||
player/lua/%.inc: TOOLS/file2string.pl player/lua/%.lua
|
||||
./$^ >$@
|
||||
|
||||
player/lua.c: player/lua/assdraw.inc
|
||||
player/lua/assdraw.inc: TOOLS/file2string.pl player/lua/assdraw.lua
|
||||
./$^ >$@
|
||||
|
||||
player/lua.c: player/lua/osc.inc
|
||||
player/lua/osc.inc: TOOLS/file2string.pl player/lua/osc.lua
|
||||
./$^ >$@
|
||||
player/lua.c: player/lua/defaults.inc \
|
||||
player/lua/assdraw.inc \
|
||||
player/lua/osc.inc \
|
||||
player/lua/options.inc
|
||||
|
||||
# ./configure must be rerun if it changed
|
||||
config.mak: configure
|
||||
|
@ -478,6 +474,7 @@ clean:
|
|||
-$(RM) player/lua/defaults.inc
|
||||
-$(RM) player/lua/assdraw.inc
|
||||
-$(RM) player/lua/osc.inc
|
||||
-$(RM) player/lua/options.inc
|
||||
|
||||
distclean: clean
|
||||
-$(RM) config.log old_build/config.h old_build/config.mak Makefile
|
||||
|
|
Loading…
Reference in New Issue