eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
314 stars 179 forks source link

issue in README.md in MQTTSN-Gateway #180

Closed Dinakaranevil closed 4 years ago

Dinakaranevil commented 4 years ago

executable files are not present in the required directory and after make clean build folder gets deleted but our executable after make is present in build folder

ty4tw commented 4 years ago

Hi,

I think you used make command with
install INSTALL_DIR=directory_name CONFIG_DIR=directory_name arguments. Related portion of Makefile as follows:

INSTALL_DIR=../../
CONFIG_DIR=../../
    .
    .
    .
clean:
    rm -rf $(OUTDIR)

install:
    cp -pf $(PROG) $(INSTALL_DIR)
    cp -pf $(LPROG) $(INSTALL_DIR)
    cp -pf $(CONFIG) $(CONFIG_DIR)
    cp -pf $(CLIENTS) $(CONFIG_DIR)
    cp -pf $(PREDEFTOPIC) $(CONFIG_DIR)

Nothing seems wrong. I guess the directory names which you specified were incorrect.

ty4tw commented 4 years ago

Hi,

Try

$ make install
$ ls -l ../../

you will find files.