libmbus/Makefile-static
Stefan Wahren 107d44b7e9 build: temporary revert to autotools (#174)
As long as cmake doesn't generate suitable deb packages, we need to
switch back :(
2020-07-19 12:58:27 +02:00

26 lines
412 B
Plaintext

# Copyright (c) 2010
# Robert Johansson
# Raditex AB.
# All rights reserved.
LIB = libmbus.so
CFLAGS = -Wall -W -g -fPIC -I.
HEADERS = mbus.h mbus-protocol.h
OBJS = mbus.o mbus-protocol.o
$(LIB): $(OBJS)
gcc -shared -o $(LIB) $(OBJS)
all: $(LIB)
clean:
rm -rf *.o *core core $(LIB)
test:
(cd test && make)
install: all
cp $(LIB) /usr/local/freescada/lib
cp $(HEADERS) /usr/local/freescada/include