commit 4b0925ea957fc126b31558a9ee1440b91b9594b6 parent 872c63278ec024d3270ebd02537f45a13031668b Author: klewer-martin <martin.cachari@gmail.com> Date: Wed, 3 Feb 2021 01:22:19 -0300 Updated Makefile; Diffstat:
M | Makefile | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile @@ -1,13 +1,14 @@ -$(CC)=gcc +CC = gcc +CFLAGS = -std=c99 all: main clean main: main.o arguments.o data.o load_country_codes.o readlines.o - $(CC) main.o arguments.o data.o load_country_codes.o readlines.o -g -o main + $(CC) $(CFLAGS) main.o arguments.o data.o load_country_codes.o readlines.o -o main main.o: main.c main.h arguments.h macros.h - $(CC) -g -c main.c + $(CC) -c main.c arguments.o: arguments.c arguments.h macros.h $(CC) -c arguments.c