summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-23 15:56:39 +0200
committerwm4 <wm4@nowhere>2014-05-23 15:58:51 +0200
commite29e567f0721147225407032e0c6830e9f6131ed (patch)
treeaaea427caa82ffb33f580a0047aa0f6fac9bae9b
parentce69afab440b108972810663255e9211972e964b (diff)
downloadmpv-e29e567f0721147225407032e0c6830e9f6131ed.tar.bz2
mpv-e29e567f0721147225407032e0c6830e9f6131ed.tar.xz
old-makefile: add options.lua
Also, make use of generic rules.
-rw-r--r--old-makefile15
1 files 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