Images in this article are not well-scaled.
Disclaimer: This passage contains notes and insights gathered from the internet. The content is used for educational purposes and attributed to the original authors. I do not claim any ownership over the material.
# Define variablessrc=$(wildcard ./*.c)objs=$(patsubst %.c, %.o, $(src))target=app$(target): $(objs) $(CC) $(objs) -o $(target)%.o: %.c $(CC) -c $< -o $@.PHONY:cleanclean: rm -f $(objs) $(target)