github.com/matrixorigin/matrixone@v0.7.0/cgo/external/decNumber/Makefile (about)

     1  #
     2  # We (MO) added this makefile.
     3  #
     4  # CFLAGS is -g -O2 because -Wall and -O3 will generate warnings.
     5  # There are patches on internet that silence these warnings, here
     6  # we just trust the decNumber authors.
     7  #
     8  
     9  OPT_LV := -O2
    10  CFLAGS=-g ${OPT_LV}
    11  
    12  OBJS=decSingle.o decDouble.o decQuad.o decNumber.o decContext.o
    13  
    14  all: $(OBJS)
    15  	mv $(OBJS) ../..
    16  
    17  .PHONY: debug
    18  debug: override OPT_LV := -O0
    19  debug: all