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

CFLAGS = -std=gnu99 -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)