Fail examples target if any example fails

This commit is contained in:
Sergey Lyubka committed 2021-07-24 08:45:51 +01:00
1 parent 2a2c17a232
commit 7e1d4325ec
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ endif
all: mg_prefix test test++ ex vc98 vc2017 mingw mingw++ linux linux++ infer fuzz
ex:
@for X in $(EXAMPLES); do $(MAKE) -C $$X $(EXAMPLE_TARGET); done
@for X in $(EXAMPLES); do $(MAKE) -C $$X $(EXAMPLE_TARGET) || break; done
# Check that all external (exported) symbols have "mg_" prefix
mg_prefix: mongoose.c mongoose.h