diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | src/modbuslog.c (renamed from modbuslog.c) | 0 | ||||
-rw-r--r-- | src/modbuslog.cfg (renamed from modbuslog.cfg) | 0 |
3 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c4a7d89 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +CC=gcc +CFLAGS=-I/usr/include/modbus +LIBS=-lmodbus -lconfig +SDIR=src + +modbuslog: $(SDIR)/modbuslog.c + $(CC) -o $(SDIR)/$@ $^ $(CFLAGS) $(LIBS) diff --git a/modbuslog.c b/src/modbuslog.c index be7a4d1..be7a4d1 100644 --- a/modbuslog.c +++ b/src/modbuslog.c diff --git a/modbuslog.cfg b/src/modbuslog.cfg index 615cea4..615cea4 100644 --- a/modbuslog.cfg +++ b/src/modbuslog.cfg |