Commit | Line | Data |
---|---|---|
68c1021b PMF |
1 | all: hello |
2 | ||
3 | hello: hello.c | |
9c67dc50 | 4 | #dynamic version |
c463904d | 5 | gcc -g -Wl,--print-map -I../libmarkers -I../share -I../libtracing -L../libmarkers -lmarkers -L../libtracectl -ltracectl -L../libtracing -ltracing -o hello hello.c marker-control.c serialize.c |
9c67dc50 | 6 | #static version |
c463904d | 7 | # 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 |
8 | |
9 | clean: | |
10 | rm -rf hello *.o | |
59b161cd PMF |
11 | |
12 | .PHONY: all hello clean |