Default CSTD to c99, no default for CXXSTD, but if provided it will be used. Add required gnu99 flags to projects using gnu styles.
12 lines
199 B
Makefile
12 lines
199 B
Makefile
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
|
|
|
|
LDSCRIPT = ../stm32f429i-discovery.ld
|
|
|
|
include ../../Makefile.include
|