116 |
#--------------------------------------------------------------------------- |
#--------------------------------------------------------------------------- |
117 |
# platform-independent options |
# platform-independent options |
118 |
#--------------------------------------------------------------------------- |
#--------------------------------------------------------------------------- |
119 |
|
|
120 |
# sizeof(void*) - change value if not a typical 32-bit system |
# sizeof(void*) - change value if not a typical 32-bit system |
121 |
SIZEOF_VOIDPTR = 4 ; |
# the following are defined by Autoconf, so uncomment if you don't have that: |
122 |
CCFLAGS += $(PACKAGE_FLAGS) -DSIZEOF_VOID_P=$(SIZEOF_VOIDPTR) ; |
# SIZEOF_VOID_P = 4 ; |
123 |
|
# CCFLAGS += -DSIZEOF_VOID_P=$(SIZEOF_VOID_P) ; |
124 |
|
|
125 |
|
CCFLAGS += $(PACKAGE_FLAGS) ; |
126 |
|
|
127 |
if $(NODEBUG) |
if $(NODEBUG) |
128 |
{ |
{ |
272 |
# uncomment to select desired warning level and ansi-strictness |
# uncomment to select desired warning level and ansi-strictness |
273 |
CCWARN += -Wall ; |
CCWARN += -Wall ; |
274 |
CCWARN += -W ; |
CCWARN += -W ; |
275 |
CCWARN += -pedantic ; |
#CCWARN += -pedantic ; |
276 |
#CCWARN += -Wshadow ; |
#CCWARN += -Wshadow ; |
277 |
#CCWARN += -ansi ; |
#CCWARN += -ansi ; |
278 |
CCWARN += -std=c99 ; |
CCWARN += -std=c99 ; |