Skip to content

Commit

Permalink
Tiny tweak to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed May 22, 2024
1 parent a2adb0b commit 817fddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ endif
api: $(DEFAULT_TARGETS)

.PHONY: static
static: lib/novas.a $(SOLSYS_TARGETS)
static: lib/novas.a solsys

.PHONY: shared
shared: $(SHARED_TARGETS)
Expand Down Expand Up @@ -120,6 +120,7 @@ lib/solsys-ephem.so: $(SRC)/solsys-ephem.c
lib/%.so: | lib VERSION
$(CC) -o $@ $(CFLAGS) $^ -shared -fPIC -Wl,-soname,lib$(LIBNAME).so.$(shell cat VERSION) $(LDFLAGS)

# A VERSION string extracted from novas.h version constants
VERSION: bin/version
$< >> $@

Expand Down

0 comments on commit 817fddc

Please sign in to comment.