- refactored
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@902 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
||||||
class Processor
|
class Processor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user