diff options
author | wm4 <wm4@nowhere> | 2014-02-10 21:25:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-10 21:25:22 +0100 |
commit | 3dd12104d9c021a10ba92680896edb777ae852d3 (patch) | |
tree | 8cbd1a665bcd56971728811e5ef0882d76b1b4a4 /old-makefile | |
parent | 238c9b1d8dd648462d66167e2a373b1f3e74d3a9 (diff) | |
download | mpv-3dd12104d9c021a10ba92680896edb777ae852d3.tar.bz2 mpv-3dd12104d9c021a10ba92680896edb777ae852d3.tar.xz |
build: add option to build a library
This library will export the client API functions.
Note that this doesn't allow compiling the command line player to link
against this library yet. The reason is that there's lots of weird stuff
required to setup the execution environment (mostly Windows and OSX
specifics), as well as things which are out of scope of the client API
and every application has to do on its own. However, since the mpv
command line player basically reuses functions from the mpv core to
implement these things, it's not very easy to separate the command
line player form the mpv core.
Diffstat (limited to 'old-makefile')
-rw-r--r-- | old-makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/old-makefile b/old-makefile index 5ea5122f7e..0614829e6f 100644 --- a/old-makefile +++ b/old-makefile @@ -396,7 +396,7 @@ all: $(ALL_TARGETS) %-rc.o: %.rc $(WINDRES) -I. $< $@ -mpv$(EXESUF): $(OBJECTS) +mpv$(EXESUF): $(OBJECTS) player/main_fn.o mpv$(EXESUF): $(CC) -o $@ $^ $(EXTRALIBS) |