Subversion Repositories eduke32

Rev

Rev 4756 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4756 Rev 4762
Line 266... Line 266...
266
    # debug build or DEBUGANYWAY=1 --> -g flag
266
    # debug build or DEBUGANYWAY=1 --> -g flag
267
    OPTIMIZATIONS += $(DEBUGFLAG)
267
    OPTIMIZATIONS += $(DEBUGFLAG)
268
endif
268
endif
269
269
270
CONLYFLAGS=-std=gnu99 -Wimplicit 
270
CONLYFLAGS=-std=gnu99 -Wimplicit -Werror-implicit-function-declaration
271
CPPONLYFLAGS= -fno-exceptions -fno-rtti -Wno-write-strings
271
CPPONLYFLAGS= -fno-exceptions -fno-rtti -Wno-write-strings
272
ASFORMAT=elf$(SYSBITS)
272
ASFORMAT=elf$(SYSBITS)
273
ASFLAGS=-s -f $(ASFORMAT) #-g
273
ASFLAGS=-s -f $(ASFORMAT) #-g
274
LINKERFLAGS=
274
LINKERFLAGS=
275
LIBS=-lm
275
LIBS=-lm
276
LIBDIRS=
276
LIBDIRS=
Line 508... Line 508...
508
        endif
508
        endif
509
    endif
509
    endif
510
endif
510
endif
511
511
512
CWARNS := -W -Wall -Werror-implicit-function-declaration \
512
CWARNS := -W -Wall \
513
    -Wpointer-arith \
513
    -Wpointer-arith \
514
    -Wextra \
514
    -Wextra \
515
    -Wno-char-subscripts \
515
    -Wno-char-subscripts \
516
    #-Wstrict-prototypes \
516
    #-Wstrict-prototypes \
517
    #-Waggregate-return \
517
    #-Waggregate-return \
518
    #-Wwrite-strings \
518
    #-Wwrite-strings \