From: Michal Sojka Date: Wed, 8 Aug 2018 15:27:46 +0000 (+0200) Subject: Make Makefile cleaner X-Git-Url: https://rtime.felk.cvut.cz/gitweb/coffee/mt-apps.git/commitdiff_plain/89b7898554f1271d4bf38c562c6bfc46a7db03b2 Make Makefile cleaner --- diff --git a/Makefile b/Makefile index d9d1b3c..30af7ed 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,8 @@ mtaio_SRCS += mt_rfid.c mtaio_LIBS += -luFCoder-armhf else mtaio_SRCS += mt_sim.c -mtaio_DEFS += -DSIM=1 -Ilibwebsockets/include -Llibwebsockets/lib -g -lz $(shell pkg-config --libs openssl) +mtaio_DEFS += -DSIM=1 -Ilibwebsockets/include -Llibwebsockets/lib -g +mtaio_LIBS += -lz $(shell pkg-config --libs openssl) libwebsockets/CMakeLists.txt: git submodule update --init libwebsockets