aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: c4a7d89582c0b271238f3de1f193161380ab78a1 (plain)
1
2
3
4
5
6
7
CC=gcc
CFLAGS=-I/usr/include/modbus
LIBS=-lmodbus -lconfig
SDIR=src

modbuslog: $(SDIR)/modbuslog.c
	$(CC) -o $(SDIR)/$@ $^ $(CFLAGS) $(LIBS)