]> git.saurik.com Git - redis.git/blame_incremental - deps/linenoise/Makefile
redis-cli pipe mode: handle EAGAIN while writing to socket.
[redis.git] / deps / linenoise / Makefile
... / ...
CommitLineData
1STD=
2WARN= -Wall
3OPT= -Os
4
5R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
6R_LDFLAGS= $(LDFLAGS)
7DEBUG= -g
8
9R_CC=$(CC) $(R_CFLAGS)
10R_LD=$(CC) $(R_LDFLAGS)
11
12linenoise.o: linenoise.h linenoise.c
13
14linenoise_example: linenoise.o example.o
15 $(R_LD) -o $@ $^
16
17.c.o:
18 $(R_CC) -c $<
19
20clean:
21 rm -f linenoise_example *.o