Braces -> parentheses
This commit is contained in:
parent
721e390de5
commit
595f2f88dd
16
Makefile
16
Makefile
@ -53,7 +53,7 @@ INSTALL_INCLUDE_PATH= $(PREFIX)/$(INCLUDE_PATH)
|
|||||||
INSTALL_LIBRARY_PATH= $(PREFIX)/$(LIBRARY_PATH)
|
INSTALL_LIBRARY_PATH= $(PREFIX)/$(LIBRARY_PATH)
|
||||||
INSTALL= cp -a
|
INSTALL= cp -a
|
||||||
|
|
||||||
all: ${DYLIBNAME} ${BINS}
|
all: $(DYLIBNAME) $(BINS)
|
||||||
|
|
||||||
# Deps (use make dep to generate this)
|
# Deps (use make dep to generate this)
|
||||||
net.o: net.c fmacros.h net.h hiredis.h
|
net.o: net.c fmacros.h net.h hiredis.h
|
||||||
@ -63,14 +63,14 @@ hiredis.o: hiredis.c fmacros.h hiredis.h net.h sds.h
|
|||||||
sds.o: sds.c sds.h
|
sds.o: sds.c sds.h
|
||||||
test.o: test.c hiredis.h
|
test.o: test.c hiredis.h
|
||||||
|
|
||||||
${DYLIBNAME}: ${OBJ}
|
$(DYLIBNAME): $(OBJ)
|
||||||
${DYLIB_MAKE_CMD}
|
$(DYLIB_MAKE_CMD)
|
||||||
|
|
||||||
${STLIBNAME}: ${OBJ}
|
$(STLIBNAME): $(OBJ)
|
||||||
${STLIB_MAKE_CMD}
|
$(STLIB_MAKE_CMD)
|
||||||
|
|
||||||
dynamic: ${DYLIBNAME}
|
dynamic: $(DYLIBNAME)
|
||||||
static: ${STLIBNAME}
|
static: $(STLIBNAME)
|
||||||
|
|
||||||
# Binaries:
|
# Binaries:
|
||||||
hiredis-example-libevent: example-libevent.c adapters/libevent.h $(STLIBNAME)
|
hiredis-example-libevent: example-libevent.c adapters/libevent.h $(STLIBNAME)
|
||||||
@ -98,7 +98,7 @@ test: hiredis-test
|
|||||||
$(CC) -std=c99 -pedantic -c $(CFLAGS) $(OBJARCH) $(DEBUG) $(COMPILE_TIME) $<
|
$(CC) -std=c99 -pedantic -c $(CFLAGS) $(OBJARCH) $(DEBUG) $(COMPILE_TIME) $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf ${DYLIBNAME} ${STLIBNAME} $(BINS) hiredis-example* *.o *.gcda *.gcno *.gcov
|
rm -rf $(DYLIBNAME) $(STLIBNAME) $(BINS) hiredis-example* *.o *.gcda *.gcno *.gcov
|
||||||
|
|
||||||
dep:
|
dep:
|
||||||
$(CC) -MM *.c
|
$(CC) -MM *.c
|
||||||
|
Loading…
Reference in New Issue
Block a user