diff options
author | cbdev <cb@cbcdn.com> | 2023-06-24 15:51:42 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2023-06-24 15:51:42 +0200 |
commit | e3a80ac2d337b92514f3246dbacb8e4ca7b62d90 (patch) | |
tree | a1c1911c7ed2bab9c1d8634afba220203b73c7a2 /Makefile | |
parent | e27446a8f8c470cc7a41cfeec1e6ffe4f23478e0 (diff) | |
download | nfcommander-e3a80ac2d337b92514f3246dbacb8e4ca7b62d90.tar.gz nfcommander-e3a80ac2d337b92514f3246dbacb8e4ca7b62d90.tar.bz2 nfcommander-e3a80ac2d337b92514f3246dbacb8e4ca7b62d90.zip |
Add basic reader_linux skeleton
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,10 +2,12 @@ CFLAGS += -g -Wall -Wpedantic CORE_OBJS = control.o reader.o config.o command.o -PLUGINS = reader_yhy.so +PLUGINS = reader_yhy.so reader_linux.so reader_yhy.so: LDLIBS = -lyhy reader_yhy.so: LDFLAGS += -L. -Wl,-rpath . +reader_linux.so: LDLIBS += $(shell pkg-config --libs libnl-genl-3.0) +reader_linux.so: CFLAGS += $(shell pkg-config --cflags libnl-genl-3.0) %.so: CFLAGS += -shared -fPIC |