2019-08-29 14:30:49 +00:00
|
|
|
|
2020-01-06 07:52:59 +00:00
|
|
|
all: linux
|
|
|
|
|
2020-09-11 23:24:20 +00:00
|
|
|
run:
|
|
|
|
cd Build && mono Builder.exe
|
|
|
|
|
2020-01-06 07:52:59 +00:00
|
|
|
linux: builder native
|
|
|
|
|
|
|
|
mac: builder nativemac
|
2019-09-10 03:30:14 +00:00
|
|
|
|
|
|
|
builder:
|
2020-09-12 13:46:07 +00:00
|
|
|
msbuild /nologo /verbosity:minimal -p:Configuration=Release BuilderMono.sln
|
2020-09-20 09:41:28 +00:00
|
|
|
cp builder.sh Build/builder
|
|
|
|
chmod +x Build/builder
|
2020-01-06 07:52:59 +00:00
|
|
|
|
|
|
|
nativemac:
|
|
|
|
g++ -std=c++14 -O2 --shared -g3 -o Build/libBuilderNative.so -fPIC -I Source/Native Source/Native/*.cpp Source/Native/OpenGL/*.cpp Source/Native/OpenGL/gl_load/*.c -ldl
|
2019-09-10 03:30:14 +00:00
|
|
|
|
|
|
|
native:
|
2020-01-06 07:07:52 +00:00
|
|
|
g++ -std=c++14 -O2 --shared -g3 -o Build/libBuilderNative.so -fPIC -I Source/Native Source/Native/*.cpp Source/Native/OpenGL/*.cpp Source/Native/OpenGL/gl_load/*.c -lX11 -ldl
|