diff --git a/Makefile b/Makefile index 1cc8e11..504c916 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -test: main.c hm.h - cc -Wall -Wextra -ggdb -o test main.c +test: test.c hm.h + cc -Wall -Wextra -ggdb -o test test.c clean: rm -rf test diff --git a/main.c b/test.c similarity index 98% rename from main.c rename to test.c index 7f87a18..3dab858 100644 --- a/main.c +++ b/test.c @@ -40,7 +40,7 @@ int main(void) } } - print(&freq); + print_hm(&freq); printf("count = %zu\n", freq.count); HashMapIterator it = hm_iterate(&freq);