Test for ticket system, bug #3
[bertos.git] / config.mk
index 5ace0dbdf4c0f90ac29b5b1553ecadb5ca9090d4..452801741dd668aeb3f14f68cf2f3289db729058 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -30,14 +30,13 @@ DEBUGCFLAGS = -ggdb
 #
 # define some variables based on the AVR base path in $(AVR)
 #
-#CROSS   = avr-
-CC      = gcc
-CXX     = g++
+CROSS   = avr-
+CC      = $(CROSS)gcc
+CXX     = $(CROSS)g++
 AS      = $(CC) -x assembler-with-cpp
 LD      = $(CC)
-LDXX   = $(CXX)
-OBJCOPY = objcopy
-STRIP   = strip
+OBJCOPY = $(CROSS)objcopy
+STRIP   = $(CROSS)strip
 INSTALL = cp -a
 RM      = rm -f
 RM_R    = rm -rf
@@ -84,7 +83,7 @@ endif
 WARNFLAGS = \
        -W -Wformat -Wall -Wundef -Wpointer-arith -Wcast-qual \
        -Wcast-align -Wwrite-strings -Wsign-compare \
-       -Wmissing-noreturn \
+       -Wmissing-prototypes -Wmissing-noreturn \
        -Wextra -Wstrict-aliasing=2 \
 #      -Wunsafe-loop-optimizations