PROG = generic-sender CFLAGS = -Wall -I. -g -O0 LDLIBS = -L. -lxaal -lcbor -luuid -lsodium SHELL = /bin/bash all: $(PROG) clean: -rm -f *.o *~ proper: clean -rm -f $(PROG) test: $(PROG) -rm -f ./generic-sender.pipe -LD_LIBRARY_PATH+=:. ./generic-sender -a 224.0.29.200 -p 1236 -s my_secret -P ./generic-sender.pipe -D motion_sensor.basic & -trap 'killall generic-sender' SIGINT; motion -c ./motion.conf Makefile.dep: $(PROG).c $(CC) $(CFLAGS) -MM $^ > $@ include Makefile.dep .svnignore: echo $(PROG).o $(PROG) | tr ' ' '\012' > $@ svnignore: .svnignore svn propset svn:ignore -F $< .