8d3957f3b8
Also remove CC and link flags since linking is done in main Makefile
14 lines
218 B
Makefile
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)
|