Commit | Line | Data |
---|---|---|
68c1021b PMF |
1 | all: hello |
2 | ||
3 | hello: hello.c | |
9c67dc50 | 4 | #dynamic version |
fbd8191b PMF |
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 | |
9c67dc50 | 7 | #static version |
c463904d | 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 |
68c1021b PMF |
9 | |
10 | clean: | |
11 | rm -rf hello *.o | |
59b161cd PMF |
12 | |
13 | .PHONY: all hello clean |