I have Makefile to compile hellomake.o hellofunc.o to execute file
CC=gcc
CFLAGS=-I.
hellomake: hellomake.o hellofunc.o
$(CC) -o hellomake hellomake.o hellofunc.o
What should I do to compile those files to 1 static librarylibhellomake.a
file and not executed file?