Files
mosquitto/test/old/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

27 lines
513 B
Makefile

R=../..
include ${R}/config.mk
CC=cc
LOCAL_CFLAGS=-I${R}/src -I${R}/include -I. -I${R} -Wall -ggdb -DDEBUG -DWITH_CLIENT
LOCAL_LDFLAGS=
SOVERSION=1
.PHONY: all test clean
all : msgsps_pub msgsps_sub
msgsps_pub : msgsps_pub.o
${CC} $^ -o $@ ${LIBMOSQ}
msgsps_pub.o : msgsps_pub.c msgsps_common.h
${CC} $(LOCAL_CFLAGS) -c $< -o $@
msgsps_sub : msgsps_sub.o
${CC} $^ -o $@ ${LIBMOSQ}
msgsps_sub.o : msgsps_sub.c msgsps_common.h
${CC} $(LOCAL_CFLAGS) -c $< -o $@
clean :
-rm -f *.o msgsps_pub msgsps_sub