rules: provide default C and C++ standards

Default CSTD to c99, no default for CXXSTD, but if provided it will be used.

Add required gnu99 flags to projects using gnu styles.
This commit is contained in:
Karl Palsson
2016-04-18 00:34:29 +00:00
parent 408b83f47a
commit b227e1609c
22 changed files with 9 additions and 17 deletions

View File

@@ -21,7 +21,6 @@ BINARY = spi_dma
# Comment the following line if you _don't_ have luftboot flashed!
LDFLAGS += -Wl,-Ttext=0x8002000
CFLAGS += -std=c99
LDSCRIPT = ../lisa-m.ld
include ../../Makefile.include