Skip to content

Commit

Permalink
Need to add the math library when linking 'tle_date'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill-Gray committed May 1, 2024
1 parent 9c24fcf commit 60761f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60761f7

Please sign in to comment.