From 60761f7e28b6fdeb529a92dc85967e4a76ca1583 Mon Sep 17 00:00:00 2001 From: Bill-Gray Date: Tue, 30 Apr 2024 20:07:39 -0400 Subject: [PATCH] Need to add the math library when linking 'tle_date' --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 909205c..a4edd47 100644 --- a/makefile +++ b/makefile @@ -189,7 +189,7 @@ test2$(EXE): test2.o sgp.o libsatell.a $(CC) $(CFLAGS) -o test2$(EXE) test2.o sgp.o libsatell.a -lm tle_date$(EXE): tle_date.o - $(CC) $(CFLAGS) -o tle_date$(EXE) tle_date.o -L $(LIB_DIR) -llunar + $(CC) $(CFLAGS) -o tle_date$(EXE) tle_date.o -L $(LIB_DIR) -llunar -lm tle_date.o: tle_date.c $(CC) $(CFLAGS) -o tle_date.o -c -I../include tle_date.c