include ../common.mk obj = ifeq ($(with_rbuf),yes) obj += rbuf.o rbuf_send.o rbuf_recv.o rbuf_ext.o endif ifeq ($(with_msgq),yes) obj += msgq.o endif %.o: %.c $(CC) $(CFLAGS) -c $< all: $(obj) $(AR) rcs libecpext.a $(obj) clean: rm -f *.o *.a