doc/example/libexample_eztrace/Makefile
raw| 1 | # Copyright (C) CNRS, INRIA, Université Bordeaux 1, Télécom SudParis |
| 2 | # See COPYING in top-level directory. |
| 3 | |
| 4 | BIN = libeztrace-example.so |
| 5 | |
| 6 | LDFLAGS=`pkg-config --libs eztrace` |
| 7 | CFLAGS=`pkg-config --cflags eztrace` |
| 8 | |
| 9 | all: $(BIN) |
| 10 | |
| 11 | libeztrace-example.so: example.c |
| 12 | $(CC) --shared -o libeztrace-example.so example.c -fPIC $(CFLAGS) $(LDFLAGS) -ldl |
| 13 | |
| 14 | clean: |
| 15 | rm -f $(BIN) |