Skip to content

Commit

Permalink
src/Makefile: associate some related rules
Browse files Browse the repository at this point in the history
  • Loading branch information
robohack committed Feb 9, 2024
1 parent a4951d2 commit c89539c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,14 @@ CFLAGS += -I${GENHDIR}
# Note also this makes the link before the library may exist.
#
afterdepend: _bmake_static_lib_build_symlink
afterinstall: _bmake_static_lib_install_symlink

_bmake_static_lib_build_symlink: .PHONY
ln -fs lib$(LIB).a lib$(LIB)_s.a

CLEANFILES += lib$(LIB)_s.a

afterinstall: _bmake_static_lib_install_symlink

_bmake_static_lib_install_symlink: .PHONY
ln -fs lib$(LIB).a ${DESTDIR}${LIBDIR}/lib$(LIB)_s.a

Expand Down

0 comments on commit c89539c

Please sign in to comment.