mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
fyxed typos
This commit is contained in:
parent
0e6a9b7f22
commit
26f94aa6da
11
Makefile
11
Makefile
@ -67,10 +67,10 @@ STRIP = $(CROSS_COMPILE)strip
|
||||
|
||||
# General flags
|
||||
CFLAGS ?= $(INCLUDES) -std=c99 #-fdiagnostics-color=always
|
||||
#CFLAGS += -Wall -Wextra -Wpedantic -Wlogical-op -Winline
|
||||
#CFLAGS += -Wformat-nonliteral -Winit-self -Wstack-protector
|
||||
#CFLAGS += -Wconversion -Wsign-conversion -Wformat-security
|
||||
#CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
|
||||
CFLAGS += -Wall -Wextra -Wpedantic -Wlogical-op -Winline
|
||||
CFLAGS += -Wformat-nonliteral -Winit-self -Wstack-protector
|
||||
CFLAGS += -Wconversion -Wsign-conversion -Wformat-security
|
||||
CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
|
||||
|
||||
# Flags for MCU
|
||||
MCU_CFLAGS += -mlittle-endian -mcpu=cortex-m4 -march=armv7e-m -mthumb
|
||||
@ -99,7 +99,7 @@ release: clean
|
||||
$(SOURCES) $(MAIN_MODULE_SRC) -o $(OUT_DIR)/release.host/$(TARGET)
|
||||
$(STRIP) $(OUT_DIR)/release.host/$(TARGET)
|
||||
|
||||
tests: clean
|
||||
tests:
|
||||
mkdir -p $(OUT_DIR)/tests.host/
|
||||
for unit_test in $(UNITTESTS); \
|
||||
do \
|
||||
@ -116,6 +116,7 @@ clean:
|
||||
rm -f $(TARGET).map
|
||||
rm -f $(TARGET).hex
|
||||
rm -f $(TARGET).lst
|
||||
rm -f js.files
|
||||
|
||||
check: tests
|
||||
@mkdir -p $(OUT_DIR)
|
||||
|
||||
@ -32,12 +32,12 @@ gen_bytecode ()
|
||||
wait(500);
|
||||
}
|
||||
*/
|
||||
save_op_data (0, getop_loop_inf (1));
|
||||
save_op_data (1, getop_call_1 (0, 12));
|
||||
save_op_data (2, getop_call_1 (0, 13));
|
||||
save_op_data (3, getop_call_1 (0, 14));
|
||||
save_op_data (4, getop_call_1 (0, 15));
|
||||
save_op_data (5, getop_jmp (0));
|
||||
// save_op_data (0, getop_loop_inf (1));
|
||||
// save_op_data (1, getop_call_1 (0, 12));
|
||||
// save_op_data (2, getop_call_1 (0, 13));
|
||||
// save_op_data (3, getop_call_1 (0, 14));
|
||||
// save_op_data (4, getop_call_1 (0, 15));
|
||||
// save_op_data (5, getop_jmp (0));
|
||||
|
||||
#ifdef __MCU
|
||||
// It's mandatory to restart app!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user