Add putget to make logic.
[stompngo_examples.git] / Makefile
blob6d7e813d3f79a8d4df15f65a80a45f15ad869678
2 # Makefile for stompngo_examples
5 dirs = ack \
6 conndisc \
7 adhoc/reader \
8 adhoc/varmGetter \
9 adhoc/varmGetter/noPackMod/noPMod1 \
10 adhoc/varmGetter/noPackMod/noPMod2 \
11 adhoc/varmGetter/vrmSameConn \
12 cmd/stompngo_examples \
13 conndisc_tls \
14 jinterop/activemq/gorecv \
15 jinterop/activemq/gosend \
16 jinterop/artemis/gorecv \
17 jinterop/artemis/gosend \
18 publish \
19 putget \
20 receipts/onack \
21 receipts/onsend \
22 recv_mds \
23 srmgor_1conn \
24 srmgor_1smrconn \
25 srmgor_2conn \
26 srmgor_manyconn \
27 subscribe \
28 tlsexamps/tlsuc1 \
29 tlsexamps/tlsuc2 \
30 tlsexamps/tlsuc3 \
31 tlsexamps/tlsuc4
33 .PHONY: $(dirs) packages clean format
35 all: $(dirs)
36 @for i in $(dirs); do \
37 echo $$i; \
38 curd=`pwd`; \
39 cd $$i && go build; \
40 cd $$curd; \
41 done
43 clean:
44 @for i in $(dirs); do \
45 echo $$i; \
46 curd=`pwd`; \
47 cd $$i && go clean; \
48 cd $$curd; \
49 done
51 format:
52 @for i in $(dirs); do \
53 echo $$i; \
54 curd=`pwd`; \
55 cd $$i && gofmt -w *.go; \
56 cd $$curd; \
57 done