c-libp2p/yamux/Makefile

15 lines
218 B
Makefile
Raw Permalink Normal View History

2017-10-11 16:23:25 +00:00
DEPS =
OBJS = frame.o session.o stream.o yamux.o ../os/timespec.o
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS) -std=c11
2017-10-11 16:23:25 +00:00
all: $(OBJS)
clean:
rm -f *.o
rm -f test
test: all test.o
$(CC) -o test test.o $(OBJS) $(CFLAGS)