aboutsummaryrefslogtreecommitdiffstats
path: root/zmqtest/zmq-sub/Makefile
blob: be3ea4320242bb2886eff735c17af100eb4a7aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
GIT_VERSION = $(shell git describe --long --all | cut -d "-" -f 3)

ZMQ_LIB=$(shell pkg-config --libs libzmq)

CFLAGS = -Wall -g -std=gnu11 $(ZMQ_LIB) -DGIT_VERSION=\"$(GIT_VERSION)\"

all: zmq-sub

zmq-sub: zmq-sub.c
	gcc $(CFLAGS) -o zmq-sub zmq-sub.c