]> git.saurik.com Git - redis.git/blame - deps/linenoise/Makefile
If the computer running the Redis test is slow, we revert to --clients 1 to avoid...
[redis.git] / deps / linenoise / Makefile
CommitLineData
0a08d2b0
PN
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
e902b579
PN
13
14linenoise_example: linenoise.o example.o
0a08d2b0 15 $(R_LD) -o $@ $^
e902b579
PN
16
17.c.o:
0a08d2b0 18 $(R_CC) -c $<
e902b579
PN
19
20clean:
be98a33b 21 rm -f linenoise_example *.o