Files
openairinterface5g/common/utils/T/tracer/gui/Makefile
T
2016-05-01 14:10:59 +02:00

21 lines
389 B
Makefile

CC=gcc
CFLAGS=-Wall -g -pthread
OBJS=init.o loop.o toplevel_window.o x.o container.o widget.o \
gui.o label.o event.o xy_plot.o text_list.o notify.o
gui.a: $(OBJS)
ar cr gui.a $(OBJS)
test: test.o gui.a
$(CC) -o test $(OBJS) test.o -lX11 -pthread -lm
x.o:x.c
$(CC) $(CFLAGS) -o $@ -c $< -finstrument-functions
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
clean:
rm -f *.a *.o test