From 06a863cfb689d5a34301d5a60e5d7951d2767c74 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 7 Mar 2025 21:41:53 +0100 Subject: Use libred to calculate the solar elevation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 25c1568..9ab321c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,6 +4,9 @@ CONFIGFILE = config.mk include $(CONFIGFILE) +PACKAGE_STRING = redshift-ng 1.13 + + OBJ =\ colorramp.o\ config-ini.o\ @@ -19,18 +22,11 @@ OBJ =\ pipeutils.o\ redshift.o\ signals.o\ - solar.o\ systemtime.o -HDR =\ - common.h\ - solar.h - -PACKAGE_STRING = redshift-ng 1.13 - all: redshift -$(OBJ): $(HDR) +$(OBJ): common.h .c.o: $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) -D'PACKAGE_STRING="$(PACKAGE_STRING)"' -- cgit v1.2.3-70-g09d2