Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mTask
MQTTClient
Commits
9f2a386c
Commit
9f2a386c
authored
Oct 30, 2020
by
Sjoerd Crooijmans
Browse files
fix problems with running the make file repeatedly
parent
e2e112c0
Pipeline
#46351
passed with stages
in 2 minutes and 36 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
9f2a386c
...
...
@@ -9,3 +9,6 @@ Clean System Files
*.pbc
*.prj
*.prp
# System specific files
src/_MQTT.*
.gitlab-ci.yml
View file @
9f2a386c
...
...
@@ -10,7 +10,7 @@ compile:
-
install_clean_nightly.sh bundle-complete
-
apt-get update -qq
-
apt-get install -yqq build-essential autoconf libtool
-
( cd cdeps/wolfMQTT; ./autogen.sh; ./configure --enable-mqtt5 --disable-tls; make
install
; )
-
( cd cdeps/wolfMQTT; ./autogen.sh; ./configure --enable-mqtt5 --disable-tls; make; )
script
:
-
make
package-linux
:
...
...
@@ -20,7 +20,7 @@ package-linux:
-
apt-get update -qq
-
apt-get install -yqq build-essential autoconf libtool
script
:
-
( cd cdeps/wolfMQTT; ./autogen.sh; ./configure --enable-mqtt5 --disable-tls; make
install
; )
-
( cd cdeps/wolfMQTT; ./autogen.sh; ./configure --enable-mqtt5 --disable-tls; make; )
-
make buildLib
-
tar czf MQTTClient-linux-x64.tar.gz src --transform s/src/MQTTClient/
artifacts
:
...
...
Makefile
View file @
9f2a386c
...
...
@@ -27,10 +27,11 @@ else
cp
src-posix/
*
src/
endif
buildDemo
:
buildDemo
:
buildLib
$(MAKE)
-C
demo
clean
:
$(RM)
-r
$(
addsuffix
/Clean
\
System
\
Files, src src/MQTT
)
$(RM)
-r
$(
addprefix
src/_MQTT., icl dcl
)
$(MAKE)
-C
cdeps clean
$(MAKE)
-C
demo clean
demo/Makefile
View file @
9f2a386c
...
...
@@ -3,19 +3,12 @@ CLEAN_HOME?=/opt/clean
.SECONDARY
:
MQTTClient.prj
.PHONY
:
clean
ifeq
($(OS), Windows_NT)
SRC
:=
win
else
SRC
:=
posix
endif
all
:
MQTTClient
%.prj
:
%.icl
cpm project
$*
create
$(CLEAN_HOME)
/etc/iTasks.prt
cpm project
$@
root ..
cpm project
$@
path add ../src
cpm project
$@
path add ../src-
$(SRC)
%
:
%.prj
cpm project
$^
build
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment