diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -2,16 +2,16 @@ bin:=$(notdir $(shell pwd)) src:=$(shell ls *.c) obj:=$(src:.c=.o) -libs?=luajit - -CFLAGS?=\ - -march=native -O3 -flto \ - -Wall -Wextra -pedantic \ - -D_GNU_SOURCE - -LDFLAGS?=\ - -O3 -s -flto \ - -lmosquitto +obj+=\ + toolbox/buffer.o \ + toolbox/http_parser.o \ + toolbox/io_muxer.o \ + toolbox/mqtt.o \ + toolbox/mqtt_parser.o \ + toolbox/utils.o + +libs:=\ + luajit CFLAGS+=$(shell pkg-config --cflags $(libs)) LDFLAGS+=$(shell pkg-config --libs $(libs)) |
