diff options
author | Oskar <[email protected]> | 2024-09-10 16:41:15 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-09-10 16:41:15 +0200 |
commit | 74c4a4763fc6294c2185faa4fb6f2a6df30bc5dd (patch) | |
tree | 5d4c10fc225dbb635c35dbcbcad1b69483e845ae /Makefile | |
parent | 52667b20d637460e5e4d9cf8a30bb04d459dab84 (diff) |
changed some things to see if i can make this C code compile with c++, there is most definitely a lot of bugs here still
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,13 +1,13 @@ -CC=gcc -CFLAGS_TESTBIN=-O0 -Wfatal-errors -Wall -Werror -Wextra -g3 -fsanitize=address -fsanitize=leak -Wpedantic -Wformat=2 -Wshadow -Wformat-truncation=2 -Wformat-overflow -fno-common -std=c99 -CFLAGS=-O3 -flto -march=native -DNDEBUG -fomit-frame-pointer -s -static -std=c99 +CC=g++ +CFLAGS_TESTBIN=-O0 -Wfatal-errors -Wall -Werror -Wextra -g3 -fsanitize=address -fsanitize=leak -Wpedantic -Wformat=2 -Wshadow -Wformat-truncation=2 -Wformat-overflow -fno-common -std=c++20 +CFLAGS=-O3 -flto -march=native -DNDEBUG -fomit-frame-pointer -s -static -std=c++20 TARGET=tsr TESTTARGET=tsr-TESTING SP_TESTTARGET=tsr-SP INSTALL_DIRECTORY=/usr/local/bin MAKEFLAGS += -SRCS=trashsys.c -SRCS_SP=trashsys_small_paths.c +SRCS=trashsys.cc +SRCS_SP=trashsys_small_paths.cc #P_MAX_SIZE="47" all: release |