diff --git a/GNUmakefile b/GNUmakefile index a043eef..227c925 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -13,8 +13,8 @@ SRC.DIR := src OBJ.DIR := $(PREFIX)/obj INC.DIR := include -OBJ := $(addprefix $(OBJ.DIR)/,fetch.o main.o creds_parser.o) -HDR := config.h utils.h creds_parser.h +OBJ := $(addprefix $(OBJ.DIR)/,fetch.o main.o parse.o) +HDR := config.h utils.h parse.h VPATH := $(INC.DIR) $(SRC.DIR) $(OBJ.DIR) diff --git a/Makefile b/Makefile index 43f58bd..c6e8e2e 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,9 @@ SRC.DIR := src OBJ.DIR := obj INC.DIR := include -SRC := fetch.c main.c creds_parser.c -OBJ := fetch.o main.o creds_parser.o -HDR := config.h utils.h creds_parser.h +SRC := fetch.c main.c parse.c +OBJ := fetch.o main.o parse.o +HDR := config.h utils.h parse.h VPATH := ${INC.DIR}:${SRC.DIR}:${OBJ.DIR} diff --git a/include/creds_parser.h b/include/parse.h similarity index 100% rename from include/creds_parser.h rename to include/parse.h diff --git a/src/creds_parser.c b/src/parse.c similarity index 100% rename from src/creds_parser.c rename to src/parse.c diff --git a/src/unity.c b/src/unity.c index 50238da..f4f411b 100644 --- a/src/unity.c +++ b/src/unity.c @@ -1,3 +1,3 @@ -#include "creds_parser.c" +#include "parse.c" #include "fetch.c" #include "main.c"