Ringbuffer

This commit is contained in:
Thomas Klaehn
2019-10-30 11:41:30 +01:00
parent 142e054efc
commit 828d55e708
5 changed files with 110 additions and 32 deletions

View File

@@ -2,23 +2,14 @@ CROSS_COMPILE ?=
TARGET_FILE ?= test
C_FLAGS += -Wall -Werror -DGNU -D__GNU__ -D__GCC__
C_FLAGS += -Os
C_FLAGS += -ffunction-sections
C_FLAGS += -fdata-sections
C_FLAGS += -std=c18
C_FLAGS += -pedantic
C_FLAGS += -pedantic-errors
C_FLAGS += -ggdb3
C_FLAGS += -Iinclude
CXXFLAGS += -Os
CXXFLAGS += -O0
CXXFLAGS += -ggdb3
CXXFLAGS += -std=c++17
CXXFLAGS += -pedantic
CXXFLAGS += -pedantic-errors
CXXFLAGS += -ffunction-sections -fdata-sections
CXXFLAGS += -fno-implicit-inline-templates
CXXFLAGS += -Iinc
LD_LIBS := -lc -lgcc -lpthread
@@ -62,5 +53,5 @@ define makedep
endef
ifneq ($(MAKECMDGOALS),clean)
-include $($(subst .o,.d,$(OBJS))
-include $(subst .o,.d,$(OBJS))
endif