makefile.mingw-cygwin/CFLAGS [ Variables ]

FUNCTION

Defined the flags used for the C compiler:

SOURCE

# Use CYGWIN = 1 to compile under native cygwin mode
ifdef CYGWIN
CYGFLAGS = -DHAVE_FORK -DHAVE_SYMLINK
else
CYGFLAGS = -mno-cygwin
endif

# Use DEBUG = 1 to include debugging symbols and to turn off optimisations
ifdef DEBUG
DFLAGS = -g
else
DFLAGS = -s -O3
endif

# Effective compiler flags
CFLAGS = -W -Wall -std=gnu99 -DHAVE_SNPRINTF $(DFLAGS) $(CYGFLAGS)