制作文件选项

iGr*_*fer 0 c makefile compilation

如何在我的make-file中使用选项-std=c99-std=gnu99编译我的C代码?

-include ../../../Common/C/Make.cfg

### target ###

TARGET_NAME   = myRec

### Objects, sources ###

# C source files

CSRCS = \
    myRec.c

LDLIBS ?= -lNBiometrics -lNMedia -lNCore

include ../../../Common/C/Make.rules
Run Code Online (Sandbox Code Playgroud)

unw*_*ind 5

您需要设置CFLAGS makefile变量.