1 .PHONY
: all linux osx
clean
6 gcc
-fPIC
-shared
-o libmono-profiler-sample.so sample.c
`pkg-config --cflags mono-2`
9 clang
-undefined suppress
-flat_namespace
-o mono-profiler-sample.dylib sample.c
`pkg-config --cflags mono-2`
12 $(RM
) -f libmono-profiler-sample.so
13 $(RM
) -f libmono-profiler-sample.dylib