Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

13 lines
400 B
Makefile

all: objectinspector.dll libmono-profiler-size.so sample.exe
LD_LIBRARY_PATH=. mono --profile=size sample.exe
sample.exe: objectinspector.dll sample.cs
mcs -r:objectinspector.dll sample.cs
objectinspector.dll: objectinspector.cs
mcs -target:library objectinspector.cs
libmono-profiler-size.so: size.c
gcc -Wall -g -shared -o libmono-profiler-size.so size.c `pkg-config --cflags --libs mono`