1

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?

yfr24493AzzrggAcom
  • 159
  • 1
  • 2
  • 13

0 Answers0