old-makefile: add options.lua

Also, make use of generic rules.
This commit is contained in:
wm4 2014-05-23 15:56:39 +02:00
parent ce69afab44
commit e29e567f07
1 changed files with 6 additions and 9 deletions

View File

@ -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