Files
hm.h/Makefile
2026-10-29 00:01:50 +01:00

19 lines
296 B
Makefile

CC=cc
CFLAGS=-std=c11 -Wall -Wextra
CXX=g++
CXXFLAGS=-std=c++11 -Wall -Wextra -O3
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 -f benchmark hm_test
.PHONY: test clean