Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Martin Finkel
vlc-unity
Commits
605282d4
Commit
605282d4
authored
Aug 28, 2019
by
Martin Finkel
Browse files
update common.mk with additional link libs
parent
4875e5f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Plugin/Common.mk
View file @
605282d4
TARGET
=
RenderingPlugin
# SRCS := $(wildcard *.cpp)
SRCS
=
RenderingPlugin.cpp RenderAPI.cpp RenderAPI_D3D11.cpp Log.cpp
OBJS
=
$(SRCS:.cpp=.o)
CXXFLAGS
=
-O2
-Wall
-std
=
c++11
-I
./include/
LDFLAGS
=
-shared
LIBS
=
-L
./vlc-4.0.0-dev/sdk/lib
-lvlc
-ld3d11
-ld3dcompiler_47
CXXFLAGS
=
-O2
-Wall
-I
./include/
# LDFLAGS = -shared -m64
LDFLAGS
=
-static-libgcc
-static-libstdc
++
-shared
LIBS
=
-L
./vlc-4.0.0-dev/sdk/lib
-lvlc
-ld3d11
-ld3dcompiler_47
-ldxgi
BIN_PREFIX
=
x86_64-w64-mingw32
OUTPUT
=
$(TARGET)
.dll
...
...
@@ -30,4 +30,4 @@ $(OUTPUT): $(OBJS)
$(CXX)
$(LDFLAGS)
-o
$(OUTPUT)
$(OBJS)
$(LIBS)
.cpp.o
:
$(CXX)
$(CXXFLAGS)
-c
-o
$@
$<
\ No newline at end of file
$(CXX)
$(CXXFLAGS)
-m64
-c
-o
$@
$<
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment