Commit b5e4232 1 parent f953088 commit b5e4232 Copy full SHA for b5e4232
File tree 2 files changed +19
-16
lines changed
2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,20 @@ export LIBRDB_VERSION
22
22
23
23
# ------------------------- ALL --------------------------------------
24
24
25
- all :
26
- $(MAKE ) -C deps -f Makefile all
27
- $(MAKE ) -C src/lib -f Makefile all
28
- $(MAKE ) -C src/ext -f Makefile all
29
- $(MAKE ) -C src/cli -f Makefile all
30
- $(MAKE ) -C examples -f Makefile all
25
+ all : ./deps/hiredis/hiredis.h
26
+ $(MAKE ) -C deps all
27
+ $(MAKE ) -C src/lib all
28
+ $(MAKE ) -C src/ext all
29
+ $(MAKE ) -C src/cli all
30
+ $(MAKE ) -C examples all
31
31
32
32
clean :
33
- $(MAKE ) -C deps -f Makefile clean
34
- $(MAKE ) -C src/lib -f Makefile clean
35
- $(MAKE ) -C src/ext -f Makefile clean
36
- $(MAKE ) -C src/cli -f Makefile clean
37
- $(MAKE ) -C examples -f Makefile clean
38
- $(MAKE ) -C test -f Makefile clean
33
+ $(MAKE ) -C deps clean
34
+ $(MAKE ) -C src/lib clean
35
+ $(MAKE ) -C src/ext clean
36
+ $(MAKE ) -C src/cli clean
37
+ $(MAKE ) -C examples clean
38
+ $(MAKE ) -C test clean
39
39
rm -f librdb.pc
40
40
rm -f librdb-ext.pc
41
41
@@ -44,6 +44,9 @@ distclean: clean
44
44
example : all
45
45
cd examples && export LD_LIBRARY_PATH=../lib && ./example1
46
46
47
+ ./deps/hiredis/hiredis.h :
48
+ git submodule update --init deps/hiredis
49
+
47
50
# ------------------------- DEBUG -------------------------------------
48
51
49
52
debug :
Original file line number Diff line number Diff line change 1
1
all :
2
- $(MAKE ) -C redis -f Makefile all
3
- $(MAKE ) -C hiredis -f Makefile all
2
+ $(MAKE ) -C redis all
3
+ $(MAKE ) -C hiredis all
4
4
5
5
clean :
6
- $(MAKE ) -C redis -f Makefile clean
7
- $(MAKE ) -C hiredis -f Makefile all
6
+ $(MAKE ) -C redis clean
7
+ $(MAKE ) -C hiredis all
8
8
9
9
10
10
.PHONY : all clean
You can’t perform that action at this time.
0 commit comments