制作文件选项

时间:2012-12-11 10:33:13

标签: c compilation makefile

如何在我的make文件中使用选项-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

1 个答案:

答案 0 :(得分:5)

您需要设置CFLAGS makefile variable