There is already common/utils/config.h. This file(name) is hardcoded as it is included into asn1c, and cannot be renamed. To avoid a name clash and confusing, we rename T's config.h/c to configuration.h/c.
29 lines
737 B
Makefile
29 lines
737 B
Makefile
CC=gcc
|
|
CFLAGS=-Wall -g -pthread -DT_TRACER -I. -I..
|
|
|
|
LIBS=-lX11 -lm -lpng -lXft
|
|
|
|
all: dump_nack_signal time_meas timeplot multi-rru-clean
|
|
|
|
dump_nack_signal: ../utils.o ../database.o ../configuration.o ../event.o \
|
|
dump_nack_signal.o
|
|
$(CC) $(CFLAGS) -o dump_nack_signal $^ $(LIBS)
|
|
|
|
time_meas: ../utils.o ../database.o ../configuration.o ../event.o \
|
|
time_meas.o
|
|
$(CC) $(CFLAGS) -o time_meas $^ $(LIBS)
|
|
|
|
timplot: timeplot.o
|
|
$(CC) $(CFLAGS) -o timeplot $^ $(LIBS)
|
|
|
|
multi-rru-clean: ../utils.o ../database.o ../event.o ../configuration.o multi-rru-clean.o
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
|
|
|
|
.PHONY: all
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -f *.o core dump_nack_signal time_meas timeplot
|