c-libp2p/yamux/Makefile
Radu Iliescu 8d3957f3b8 Makefile: refactor CFLAGS to come from main Makefile
Also remove CC and link flags since linking is done in main Makefile
2018-12-03 07:22:33 -05:00

14 lines
218 B
Makefile

DEPS =
OBJS = frame.o session.o stream.o yamux.o ../os/timespec.o
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS) -std=c11
all: $(OBJS)
clean:
rm -f *.o
rm -f test
test: all test.o
$(CC) -o test test.o $(OBJS) $(CFLAGS)