- initial commit

This commit is contained in:
2022-06-28 19:13:17 +02:00
commit 18a452544d
4 changed files with 312 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
BLAZE_PATH := $(realpath ../../extlib/blaze)
SRCS := source/main.cpp source/test.cpp source/shift.cpp
BUILD_DIR := ./build
CXXFLAGS += -g -o0 -std=c++20
INCLUDES += -I $(BLAZE_PATH)
LIBS := -lm
all: ${BUILD_DIR}/main.elf
run: ${BUILD_DIR}/main.elf
${BUILD_DIR}/main.elf
${BUILD_DIR}/main.elf: ${BUILD_DIR} ${SRCS}
g++ ${CXXFLAGS} ${INCLUDES} ${SRCS} -o $@ ${LIBS}
${BUILD_DIR}:
mkdir -p $@
clean:
rm -rf ${BUILD_DIR}/*