Files
mosquitto/test/random/Makefile
Roger A. Light c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00

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