iGriffer
iGriffer

Reputation: 250

Make file option

How can I in my make-file use option -std=c99 or -std=gnu99 to compile my C code?

-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

Upvotes: 0

Views: 173

Answers (1)

unwind
unwind

Reputation: 399703

You need to set the CFLAGS makefile variable.

Upvotes: 5

Related Questions