Skip to content

Commit 4c7cf2e

Browse files
committed
Updated build scripts and dependencies
1 parent 8cd4cfc commit 4c7cf2e

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ DISTSRC_FILES = \
6161
$(wildcard $(BASEDIR)/*.txt)
6262

6363
.DEFAULT_GOAL := all
64-
.PHONY: all compile install uninstall clean package
64+
.PHONY: all bundle compile install uninstall clean package
6565

66-
compile all install uninstall package:
66+
all bundle compile install uninstall package:
6767
$(CHK_CONFIG)
6868
$(MAKE) -C "$(BASEDIR)/src" $(@) VERBOSE="$(VERBOSE)" CONFIG="$(CONFIG)" DESTDIR="$(DESTDIR)"
6969

@@ -121,6 +121,7 @@ distsrc:
121121
help:
122122
echo "Available targets:"
123123
echo " all Build all binaries"
124+
echo " bundle Install only necessary binaries for bundling"
124125
echo " clean Clean all build files and configuration file"
125126
echo " config Configure build"
126127
echo " devel Configure build as development build"

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ CXX_DEPFILE = $(patsubst $(ARTIFACT_BIN)/%.d,%.cpp,$(@))
104104
CXX_DEPTARGET = $(patsubst $(ARTIFACT_BIN)/%.d,%.o,$(@))
105105

106106
.DEFAULT_GOAL = all
107-
.PHONY: compile all install uninstall package
107+
.PHONY: all compile bundle install uninstall package
108108

109109
# Compilation targets
110110
compile: $(ARTIFACT_OBJ)
@@ -145,7 +145,7 @@ $(ARTIFACT_OBJ_TEST): $(XOBJ_TEST)
145145
$($(HOST)LD) -o $(ARTIFACT_OBJ_TEST) $($(HOST)LDFLAGS) $(XOBJ_TEST)
146146

147147
# Deletaged targets
148-
all install uninstall package:
148+
all bundle install uninstall package:
149149
$(MAKE) -C "$(LSP_PLUGIN_FW_PATH)" $(@) VERBOSE="$(VERBOSE)" CONFIG="$(CONFIG)"
150150

151151
# Dependencies

0 commit comments

Comments
 (0)