]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/commitdiff
Make Makefile cleaner
authorMichal Sojka <michal.sojka@cvut.cz>
Wed, 8 Aug 2018 15:27:46 +0000 (17:27 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Wed, 8 Aug 2018 15:27:46 +0000 (17:27 +0200)
Makefile

index d9d1b3cbf7575d6279411648c6828eac2093428a..30af7edde99a937c28e94babbf871179ae70f9d0 100644 (file)
--- 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