Commit | Line | Data |
---|---|---|
1 | all: hello | |
2 | ||
3 | hello: hello.c | |
4 | #dynamic version | |
5 | gcc -g -I../libmarkers -I../share -I../libtracing -L../libmarkers -lmarkers -L../libtracectl -ltracectl -L../libtracing -ltracing -o hello hello.c marker-control.c serialize.c | |
6 | # -Wl,--print-map | |
7 | #static version | |
8 | # gcc -g -I../libmarkers -I../share -I../libtracing -L../libmarkers -o hello hello.c marker-control.c serialize.c ../libtracing/*.c ../libmarkers/*.c ../libtracectl/*.c ../share/*.c | |
9 | ||
10 | clean: | |
11 | rm -rf hello *.o | |
12 | ||
13 | .PHONY: all hello clean |