Do not crash the runtime in System.Reflection.Emit.ILGeneration tests (#13917)
[mono-project.git] / samples / size / Makefile
blobad73bb1f43a43510b64ecc16b333082c7674cc00
2 all: objectinspector.dll libmono-profiler-size.so sample.exe
3 LD_LIBRARY_PATH=. mono --profile=size sample.exe
5 sample.exe: objectinspector.dll sample.cs
6 mcs -r:objectinspector.dll sample.cs
8 objectinspector.dll: objectinspector.cs
9 mcs -target:library objectinspector.cs
11 libmono-profiler-size.so: size.c
12 gcc -Wall -g -shared -o libmono-profiler-size.so size.c `pkg-config --cflags --libs mono`