Statistics
| Branch: | Revision:

root / mainbox / Makefile @ 15928a3d

History | View | Annotate | Download (306 Bytes)

1 15928a3d Tom Mullins
SRC=main.c tool.c query.c event.c util.c
2
HDR=tool.h query.h event.h util.h ../tooltron_mb.h
3 7bdb98c5 Tom Mullins
4 9e764ac9 Tom Mullins
FLAGS=-O2 -g -Wall -I.. `pkg-config --cflags --libs libmodbus libcurl`
5 7bdb98c5 Tom Mullins
6
all: tooltron
7
8
tooltron: $(SRC) $(HDR)
9
	gcc $(SRC) $(FLAGS) -o $@
10
11
install: tooltron
12
	cp tooltron /usr/local/bin
13
14
clean:
15
	rm -f *.o tooltron