CC ?= cc
CFLAGS ?= -std=c11 -Wall -Wextra -O2

.PHONY: test clean

test_strutil: strutil.c strutil.h tests/test_strutil.c
	$(CC) $(CFLAGS) -o $@ strutil.c tests/test_strutil.c

test: test_strutil
	@echo run >> .test_runs
	./test_strutil

clean:
	rm -f test_strutil
