diff options
| author | Mikhail Burakov <mburakov@mailbox.org> | 2022-12-26 12:15:30 +0100 |
|---|---|---|
| committer | Mikhail Burakov <mburakov@mailbox.org> | 2022-12-26 12:15:30 +0100 |
| commit | b2ccb9ff8fa7e7ad14143cfbf7e26ec79bfbfdc8 (patch) | |
| tree | 1c372c1ef20f3dfa9931f908837ac8f94e7a826c /makefile | |
| parent | 2fcd2038a47b1990532dde4078d71308dfcc58ca (diff) | |
Initial commit for version 2
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)) |
