...
...
# if parameter "DEBUG" is set, we set debug flags for lex/yacc
# if parameter "DEBUG" is set, we set debug flags for lex/yacc
ifneq (${DEBUG},)ifneq (${DEBUG},)DEBUG_FLAGS += -d
DEBUG_FLAGS += -d
endif
endif
all: ${C2IEC}all: ${C2IEC} ${C2IEC}.js ${C2IEC}.wasm ${C2IEC}.html${C2IEC}: lex.yy.c y.tab.c${C2IEC}: lex.yy.c y.tab.c$(CC) -o $@ $^
$(CC) -o $@ $^
${C2IEC}.js: lex.yy.c y.tab.c${C2IEC}.js: lex.yy.c y.tab.c