Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't clean deps except on distclean

  • Loading branch information...
commit 980124963d242a7849c27ccc80b33f365dfd8412 1 parent 9e4d136
@creationix authored
Showing with 8 additions and 4 deletions.
  1. +4 −2 Makefile
  2. +4 −2 bench/Makefile
View
6 Makefile
@@ -52,9 +52,11 @@ build/%.o: src/%.c src/%.h ${DEPS}
$(CC) --std=c89 -D_GNU_SOURCE -g -Wall -Werror -c $< -o $@ -I${HTTPDIR} -I${UVDIR}/include -I${YAJLDIR}/src/api -I${YAJLDIR}/src -I/usr/include/js -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
clean:
+ rm -rf build spiderluv
+
+distclean: clean
${MAKE} -C ${HTTPDIR} clean
${MAKE} -C ${YAJLDIR} clean
${MAKE} -C ${UVDIR} distclean
- rm -rf build spiderluv
-.PHONY: all clean
+.PHONY: all clean distclean
View
6 bench/Makefile
@@ -35,8 +35,10 @@ http-simple: http-simple.o ${DEPS}
$(CC) --std=c89 -D_GNU_SOURCE -g -Wall -Werror -c $< -o $@ -I${HTTPDIR} -I${UVDIR}/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
clean:
+ rm -f http-simple http-simple.o
+
+distclean: clean
${MAKE} -C ${HTTPDIR} clean
${MAKE} -C ${UVDIR} distclean
- rm -f http-simple http-simple.o
-.PHONY: all clean
+.PHONY: all clean distclean
Please sign in to comment.
Something went wrong with that request. Please try again.