mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-02-07 21:06:48 +08:00
22 lines
368 B
Makefile
22 lines
368 B
Makefile
R=../..
|
|
include ${R}/config.mk
|
|
|
|
.PHONY: all test
|
|
|
|
all : auth_plugin.so
|
|
|
|
auth_plugin.so : auth_plugin.c
|
|
$(CC) ${LOCAL_CFLAGS} -fPIC -shared $< -o $@ -I${R}/lib -I${R}/src
|
|
|
|
${R}/lib/libmosquitto.so.${SOVERSION} :
|
|
$(MAKE) -C ${R}/lib
|
|
|
|
${R}/lib/libmosquitto.a :
|
|
$(MAKE) -C ${R}/lib libmosquitto.a
|
|
|
|
clean :
|
|
-rm -f *.o random_client *.gcda *.gcno
|
|
|
|
test : all
|
|
./test.py
|