v1.3.0
This commit is contained in:
16
Makefile
16
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user