Ringbuffer
This commit is contained in:
15
Makefile
15
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user