From 89b7898554f1271d4bf38c562c6bfc46a7db03b2 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 8 Aug 2018 17:27:46 +0200 Subject: [PATCH] Make Makefile cleaner --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2