# defaults
CC = gcc
BISON = bison
CFLAGS = -pipe -g -O2
# works on both x86 and x86_64
override CC += -m32 -std=gnu99
# TODO check if this is actually needed - I don't think it should be
ifeq ($(findstring CYGWIN,$(shell uname)), CYGWIN)
override CFLAGS += -DFD_SETSIZE=4096 -DCYGWIN
else
override CFLAGS += -fstack-protector
endif