summaryrefslogtreecommitdiff
path: root/unixdomain/Makefile (plain)
blob: 2cf47767ceeee2b50d3b1c0ad11ab3f583b0da29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS = -g
ASCIIDOC=/usr/bin/asciidoc
DOC = Unix_domain_sockets.html
PROGS = cli srv

all: $(PROGS) $(DOC)

srv: srv.c
cli: cli.c

Unix_domain_sockets.html: Unix_domain_sockets.txt
	if [ -x $(ASCIIDOC) ]; then $(ASCIIDOC) $<; fi

.PHONY: clean

clean:
	rm -f *.o socket $(PROGS)