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 -static | |
6 | #static version | |
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 | |
8 | ||
9 | clean: | |
10 | rm -rf hello *.o | |
11 | ||
12 | .PHONY: all hello clean |