UltimateZoneBuilder/Makefile

23 lines
629 B
Makefile
Raw Normal View History

2019-08-29 14:30:49 +00:00
BUILDTYPE ?= Release
all: linux
2020-09-11 23:24:20 +00:00
run:
cd Build && mono Builder.exe
linux: builder native
mac: builder nativemac
builder:
msbuild /nologo /verbosity:minimal -p:Configuration=$(BUILDTYPE) BuilderMono.sln
cp builder.sh Build/builder
chmod +x Build/builder
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
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