diff options
Diffstat (limited to 'samples/profiler/Makefile')
-rw-r--r-- | samples/profiler/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/samples/profiler/Makefile b/samples/profiler/Makefile new file mode 100644 index 00000000000..365d861cabd --- /dev/null +++ b/samples/profiler/Makefile @@ -0,0 +1,13 @@ +.PHONY: all linux osx clean + +all: + +linux: + gcc -fPIC -shared -o libmono-profiler-sample.so sample.c `pkg-config --cflags mono-2` + +osx: + clang -undefined suppress -flat_namespace -o mono-profiler-sample.dylib sample.c `pkg-config --cflags mono-2` + +clean: + $(RM) -f libmono-profiler-sample.so + $(RM) -f libmono-profiler-sample.dylib |