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

@@ -1,6 +1,7 @@
OBJS = sdram.o clock.o console.o lcd-spi.o
BINARY = lcd-dma
CSTD = -std=gnu99
# we use sin/cos from the library
LDLIBS += -lm