Improve Makefile

This commit is contained in:
Alex Kotov 2022-09-09 00:25:18 +04:00
parent 7f719017a6
commit 582e97a759
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -15,6 +15,7 @@ CONFIGMKS = \
config/3-defvars.mk config/3-defvars.mk
RUST_SRC = src/*.rs src/**/*.rs RUST_SRC = src/*.rs src/**/*.rs
RUST_APIS = src/constraints.h src/geom.h src/settings.h
MODULES_SRC = \ MODULES_SRC = \
src/atoms.c \ src/atoms.c \
@ -44,7 +45,7 @@ TEST_SRC = \
MAIN_SRC = $(MODULES_SRC) src/main.c MAIN_SRC = $(MODULES_SRC) src/main.c
MODULES_HDR = $(MODULES_SRC:.c=.h) src/constraints.h src/settings.h MODULES_HDR = $(MODULES_SRC:.c=.h) $(RUST_APIS)
DWM_HDR = $(DWM_SRC:.c=.h) DWM_HDR = $(DWM_SRC:.c=.h)
MAIN_HDR = $(MODULES_HDR) src/main.h MAIN_HDR = $(MODULES_HDR) src/main.h