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`