This commit is contained in:
2026-10-29 00:01:50 +01:00
parent 61bb403b08
commit 06f333caea
6 changed files with 586 additions and 163 deletions

View File

@@ -1,8 +1,18 @@
CC=cc
CFLAGS=-std=c11 -Wall -Wextra
CXX=g++
CXXFLAGS=-Wall -Wextra -O3
CXXFLAGS=-std=c++11 -Wall -Wextra -O3
benchmark: benchmark.cpp
benchmark: benchmark.cpp hm.h
$(CXX) $(CXXFLAGS) -o benchmark benchmark.cpp
hm_test: test.c hm.h
$(CC) $(CFLAGS) -o hm_test test.c
test: hm_test
./hm_test
clean:
rm -rf benchmark
rm -f benchmark hm_test
.PHONY: test clean