Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Makefile: Halt compilation on errors in lib,client

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
  • Loading branch information...
commit 0ca2062064d27e3d8aac39192eee9d6c7d1b7346 1 parent acd8af7
@joestringer joestringer authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 Makefile
View
8 Makefile
@@ -28,7 +28,7 @@ lib: build
@for dir in $(libdirs); do \
mkdir -p $(BUILD_OBJ_DIR)/$$dir; \
echo "Compiling Library Dependency ($$dir)..."; \
- make -C $(LIB_DIR)/$$dir all; \
+ make -C $(LIB_DIR)/$$dir all || exit 1; \
echo "done."; \
done
@echo "Generating Library";
@@ -39,16 +39,16 @@ app: lib
@for dir in $(srcdirs); do \
mkdir -p $(BUILD_OBJ_DIR)/$$dir; \
echo "Compiling Application $$dir..."; \
- make -C $(ROOT_DIR)/$$dir all; \
+ make -C $(ROOT_DIR)/$$dir all || exit 1; \
echo "done."; \
done
-rfclient: lib
+rfclient: lib
@mkdir -p $(BUILD_OBJ_DIR);
@for dir in "rfclient" ; do \
mkdir -p $(BUILD_OBJ_DIR)/$$dir; \
echo "Compiling Application $$dir..."; \
- make -C $(ROOT_DIR)/$$dir all; \
+ make -C $(ROOT_DIR)/$$dir all || exit 1; \
echo "done."; \
done
Please sign in to comment.
Something went wrong with that request. Please try again.