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

CFLAGS = -Wall -g $(ZMQ_LIB) -DGIT_VERSION=\"$(GIT_VERSION)\"
LINK = -lzmq

all: zmq-sub

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