makefile cleanup
This commit is contained in:
parent
022f0462e9
commit
f3ef45abda
1 changed files with 6 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -12,12 +12,16 @@ LDFLAGS =
|
||||||
NAME = modfetch
|
NAME = modfetch
|
||||||
|
|
||||||
SRC = src
|
SRC = src
|
||||||
_PROG = modfetch.c config.c util.c
|
BIN = target
|
||||||
|
|
||||||
|
_PROG = config.c fetch.c main.c util.c
|
||||||
PROG = $(addprefix $(SRC)/, $(_PROG))
|
PROG = $(addprefix $(SRC)/, $(_PROG))
|
||||||
|
|
||||||
_LIB = semver.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
|
|
||||||
_MOD = $(wildcard modules/*.c)
|
_MOD = $(wildcard modules/*.c)
|
||||||
MOD = $(_MOD:modules/%=%)
|
MOD = $(_MOD:modules/%=%)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue