Add kbd_peekMask() and kbd_getMask() functions.
[bertos.git] / bertos / config.mk
index 845083f9f90a9d2dcba9baa834ad11961eff0c32..1d75dc0b48b3b4a603b92e21e3fe51d0449331e8 100644 (file)
@@ -10,7 +10,6 @@
 #
 # Programmer type
 # see local pgm_config.mk for programmer customization.
--include pgm_config.mk
 
 OPTCFLAGS = -ffunction-sections -fdata-sections
 #OPTCFLAGS = -funsafe-loop-optimizations
@@ -51,7 +50,7 @@ COFFCONVERT=$(OBJCOPY) \
        --change-section-address .noinit-0x800000 \
        --change-section-address .eeprom-0x810000
 
-INCDIR  = -I. -Ibertos 
+INCDIR  = -I. -Ibertos -Ibertos/net/lwip/src/include -Ibertos/net/lwip/src/include/ipv4
 LIBDIR  = lib
 OBJDIR  = obj
 OUTDIR  = images
@@ -83,12 +82,14 @@ WARNFLAGS = \
 C_WARNFLAGS = \
        -Wmissing-prototypes -Wstrict-prototypes
 
+C_COMPILER_STD = -std=gnu99
+
 # Default C preprocessor flags (for C, C++ and cpp+as)
 CPPFLAGS = $(INCDIR)
 
 # Default C compiler flags
 CFLAGS = $(OPTCFLAGS) $(DEBUGCFLAGS) $(WARNFLAGS) $(C_WARNFLAGS) \
-       $(DEP_FLAGS) $(LIST_FLAGS) -std=gnu99
+       $(DEP_FLAGS) $(LIST_FLAGS) $(C_COMPILER_STD)
 
 # Default C++ compiler flags
 CXXFLAGS = $(OPTCFLAGS) $(DEBUGCFLAGS) $(WARNFLAGS) \