The T only works when it's TRUE, the version without shared memory is not supported anymore.
15 lines
221 B
Makefile
15 lines
221 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -g -pthread -DT_TRACER -I.
|
|
|
|
PROG=tracee
|
|
OBJS=tracee.o ../T.o
|
|
|
|
$(PROG): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $(PROG) $(OBJS) -lrt
|
|
|
|
tracee.o: tracee.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -f *.o $(PROG) core
|