ajout du dossier code

This commit is contained in:
2026-06-23 09:06:58 +02:00
commit edacf28b14
9 changed files with 4015 additions and 0 deletions

17
code/Makefile Normal file
View File

@@ -0,0 +1,17 @@
GTEST_DIR = ./googletest/googletest
CFLAGS = -Wall -Wextra -std=c99 -O2 -g -pedantic -fprofile-arcs -ftest-coverage
CXXFLAGS = -Wall -Wextra -std=c++11 -O2 -g -pedantic -I$(GTEST_DIR)/include -I$(GTEST_DIR)
LDFLAGS = -pthread -fprofile-arcs
TARGETS = testbig
all: testbig
clean:
rm -f *.o $(TARGETS)
rm -f *.gcda *.gcno *.gcov
testbig: big.o ${GTEST_DIR}/src/gtest-all.o testbig.cc
big.o: big.c big.h