Revision 870f74ac os/modules/DiWheelDrive_1-1/Makefile
os/modules/DiWheelDrive_1-1/Makefile | ||
---|---|---|
35 | 35 |
|
36 | 36 |
# C specific options here (added to USE_OPT). |
37 | 37 |
ifeq ($(USE_COPT),) |
38 |
USE_COPT = -std=c99
|
|
38 |
USE_COPT = -std=c11
|
|
39 | 39 |
endif |
40 | 40 |
|
41 | 41 |
# C++ specific options here (added to USE_OPT). |
42 | 42 |
ifeq ($(USE_CPPOPT),) |
43 |
USE_CPPOPT = -fno-rtti -std=c++14
|
|
43 |
USE_CPPOPT = -fno-rtti -std=c++17
|
|
44 | 44 |
endif |
45 | 45 |
|
46 | 46 |
# Enable this if you want the linker to remove unused code and data |
... | ... | |
290 | 290 |
# End of user defines # |
291 | 291 |
################################################################################ |
292 | 292 |
|
293 |
# allow for custom build directory |
|
294 |
ifneq ($(BUILDDIR),) |
|
295 |
BUILDDIR := $(BUILDDIR)/$(PROJECT) |
|
296 |
endif |
|
297 |
|
|
293 | 298 |
RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC |
294 | 299 |
include $(RULESPATH)/rules.mk |
295 | 300 |
|
Also available in: Unified diff