2023-09-07 15:18:47 -04:00
|
|
|
CXXFLAGS := -fuse-ld=mold -ggdb -Wall -Wextra -Wpedantic
|
2023-09-23 08:52:40 -04:00
|
|
|
ifeq (${DEBUG}, 1)
|
|
|
|
CXXFLAGS += -DDEBUG
|
|
|
|
endif
|
|
|
|
|
2023-09-02 11:39:52 -04:00
|
|
|
OUT := regtest
|
|
|
|
|
|
|
|
main:
|
2023-09-09 08:37:36 -04:00
|
|
|
${CXX} ${CXXFLAGS} ${CPPFLAGS} source/main.cpp source/vector.c source/jeger.c -o ${OUT}
|
2023-09-02 11:39:52 -04:00
|
|
|
|
|
|
|
run:
|
|
|
|
${OUT}
|
|
|
|
|
|
|
|
test: run
|