diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f067b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.so +libyhy.h +*.o +nfcommander @@ -4,6 +4,9 @@ CFLAGS += -g -Wall -Wpedantic CORE_OBJS = control.o reader.o config.o PLUGINS = reader_yhy.so +reader_yhy.so: LDLIBS = -lyhy +reader_yhy.so: LDFLAGS = -L. -Wl,-rpath . + %.so: CFLAGS += -shared -fPIC %.so :: %.c %.h |