Commit: fddb602f76eee4e02e62b8586f4d59e5805b4e84
Parent: c43265532db1b6994266b7f5264e641c0919ddc1
Author: Randy Palamar
Date: Wed, 17 Mar 2021 15:18:12 -0600
move block srcs to config.mk. they are build config
Diffstat:
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,12 +1,7 @@
# See LICENSE for license details.
include config.mk
-SRC =\
- blocks/battery.c\
- blocks/gettime.c\
- blocks/mpd.c\
- blocks/volume.c\
- status.c util.c
+SRC += status.c util.c
OBJ = $(SRC:.c=.o)
all: status
diff --git a/config.mk b/config.mk
@@ -1,3 +1,9 @@
+SRC =\
+ blocks/battery.c\
+ blocks/gettime.c\
+ blocks/mpd.c\
+ blocks/volume.c
+
PREFIX = /
X11INC = /usr/X11R6/include