From e29e567f0721147225407032e0c6830e9f6131ed Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 May 2014 15:56:39 +0200 Subject: old-makefile: add options.lua Also, make use of generic rules. --- old-makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/old-makefile b/old-makefile index f5cbc23e6c..3ac5c6993e 100644 --- a/old-makefile +++ b/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 -- cgit v1.2.3