- refactored

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@902 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-01 06:37:28 +00:00
parent 09eecadb07
commit c148058919
4 changed files with 10 additions and 4 deletions
+3 -4
View File
@@ -4,14 +4,12 @@ CONFIG ?= debug
TARGET ?= main TARGET ?= main
BUILD_DIR := ./build/${CONFIG} BUILD_DIR := ./build/${CONFIG}
include ./processor.mk include ./src/processor.mk
include ./test/test.mk
CXX_SRCS += test/main.cpp test/test01.cpp test/test02.cpp test/TestBlock.cpp test/NullSource.cpp test/NullSink.cpp
LIBS := -lstdc++ -lm -larmadillo LIBS := -lstdc++ -lm -larmadillo
DEFINES += -DPROCESSOR_BUFFER_USE_EXCEPTIONS DEFINES += -DPROCESSOR_BUFFER_USE_EXCEPTIONS
SRCS := ${CXX_SRCS} ${GCC_SRCS}
.PHONY: clean .PHONY: clean
all: ${BUILD_DIR}/${TARGET} all: ${BUILD_DIR}/${TARGET}
@@ -23,3 +21,4 @@ distclean:
include $(MAKE_HOME)/compile.mk include $(MAKE_HOME)/compile.mk
include $(MAKE_HOME)/link.mk
+1
View File
@@ -6,6 +6,7 @@
#pragma once #pragma once
class Processor class Processor
{ {
public: public:
+6
View File
@@ -0,0 +1,6 @@
PACKAGES += Test-1.0
CXX_SRCS += test/main.cpp test/test01.cpp test/test02.cpp test/TestBlock.cpp test/NullSource.cpp test/NullSink.cpp
DEFINES +=
INCLUDES += -I $(shell pwd)/test