aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-18 16:42:42 -0500
committerJack Lloyd <[email protected]>2016-12-18 16:42:42 -0500
commitc1dd21253c1f3188ff45d3ad47698efd08235ae8 (patch)
tree2c9f681318a8e51f03c1528c0a813b39486654da /src/build-data
parent61378e8cdb1e265d04e1a85408adf47a4fa57838 (diff)
Add libs target to makefiles
[ci skip]
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/makefile/gmake.in2
-rw-r--r--src/build-data/makefile/nmake.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/build-data/makefile/gmake.in b/src/build-data/makefile/gmake.in
index 60ff6d58d..70959dfa9 100644
--- a/src/build-data/makefile/gmake.in
+++ b/src/build-data/makefile/gmake.in
@@ -33,6 +33,8 @@ all: $(CLI) $(TEST)
# Link Commands
%{gmake_dso_in}
+libs: $(LIBRARIES)
+
$(CLI): $(LIBRARIES) $(CLIOBJS)
$(CLI_LINK_CMD) $(LDFLAGS) $(CLIOBJS) -L%{out_dir} -l%{libname} $(CLI_LINKS_TO) -o $(CLI)
$(CLI_POST_LINK_CMD)
diff --git a/src/build-data/makefile/nmake.in b/src/build-data/makefile/nmake.in
index 4075ccbbf..2fc86e763 100644
--- a/src/build-data/makefile/nmake.in
+++ b/src/build-data/makefile/nmake.in
@@ -51,6 +51,8 @@ all: $(CLI) $(TEST)
%{test_build_cmds}
+libs: $(LIBRARIES)
+
# Link Commands
$(CLI): $(LIBRARIES) $(CLIOBJS)
$(CLI_LINK_CMD) /OUT:$@ $(CLIOBJS) $(LIB_FILENAME) $(CLI_LINKS_TO)