mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Fail examples target if any example fails
This commit is contained in:
1 parent
2a2c17a232
commit
7e1d4325ec
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -52,7 +52,7 @@ SOURCES += $(FREERTOS_PLUS_TCP_PATH)/portable/NetworkInterface/STM32Fxx/stm32fxx
|
||||
|
||||
OBJECTS = obj/boot.o $(SOURCES:%.c=obj/%.o)
|
||||
|
||||
all: $(PROG).hex
|
||||
example: $(PROG).hex
|
||||
|
||||
$(PROG).bin: $(PROG).elf
|
||||
$(DOCKER) arm-none-eabi-objcopy -O binary $< $@
|
||||
|
||||
Reference in new issue
Block a user