github.com/matrixorigin/matrixone@v1.2.0/cgo/Makefile (about) 1 DEBUG_OPT := 2 OPT_LV := -O3 3 CFLAGS=-std=c99 -g ${OPT_LV} -Wall -Werror 4 OBJS=mo.o arith.o compare.o logic.o 5 6 all: libmo.a 7 8 libmo.a: $(OBJS) 9 ar -rcs libmo.a *.o 10 11 .PHONY: debug 12 debug: override OPT_LV := -O0 13 debug: override DEBUG_OPT := debug 14 debug: all 15 16 .PHONY: clean 17 clean: 18 rm -f *.o *.a