move config and util from lib to prog

This commit is contained in:
jacekpoz 2024-02-11 23:27:01 +01:00
parent 4ef40c8aed
commit 022f0462e9
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C

View file

@ -12,9 +12,9 @@ LDFLAGS =
NAME = modfetch NAME = modfetch
SRC = src SRC = src
_PROG = modfetch.c _PROG = modfetch.c config.c util.c
PROG = $(addprefix $(SRC)/, $(_PROG)) PROG = $(addprefix $(SRC)/, $(_PROG))
_LIB = config.c semver.c util.c _LIB = semver.c
LIB = $(addprefix $(SRC)/, $(_LIB)) LIB = $(addprefix $(SRC)/, $(_LIB))
OBJ = $(_PROG:.c=.o) $(_LIB:.c=.o) OBJ = $(_PROG:.c=.o) $(_LIB:.c=.o)
BIN = target BIN = target