Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv21533
Modified Files:
Makefile
Log Message:
Abort compilation if one file fails
Index: Makefile
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/Makefile,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- Makefile 4 Dec 2003 19:04:22 -0000 1.31
+++ Makefile 5 Dec 2003 22:40:15 -0000 1.32
@@ -130,6 +130,8 @@
endif
@if $(CXX) $(CPP_FLAGS) $(DEBUG_FLAGS) $(DEFINES) -I$(INCLUDE_DIR) $(CXX_FLAGS) -o $@ $<; then \
echo -e "$(WELLCOLOR)ok.$(ACTIONCOLOR)"; \
+ else \
+ false; \
fi;
# Resource files
@@ -142,6 +144,8 @@
@rm -f $(PIPENAME) $(STDERROR)
@if $(WINDRES) -i $< -I rc -o $@ -O coff --include-dir=$(INCLUDE_DIR); then \
echo -e "$(WELLCOLOR)ok.$(ACTIONCOLOR)"; \
+ else \
+ false; \
fi;
# Linking
@@ -154,6 +158,8 @@
echo -e -n "$(WARNINGCOLOR)$(BUILD)"; \
echo -e -n "$(OUTPUTCOLOR)$@$(WELLCOLOR) binary!\n"; \
echo -e "$(DEFAULTCOLOR)Now type $(OUTPUTCOLOR)./$@$(DEFAULTCOLOR) to start the application."; \
+ else \
+ false; \
fi
# All builds program with default settings.
|