diff options
Diffstat (limited to 'gnunet-dht-block-types/Makefile')
-rw-r--r-- | gnunet-dht-block-types/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnunet-dht-block-types/Makefile b/gnunet-dht-block-types/Makefile new file mode 100644 index 0000000..f402c2d --- /dev/null +++ b/gnunet-dht-block-types/Makefile | |||
@@ -0,0 +1,18 @@ | |||
1 | FILES=gnunet_dht_block_types.h | ||
2 | all: check $(FILES) | ||
3 | |||
4 | check: | ||
5 | recfix --check registry.rec | ||
6 | |||
7 | distclean: | ||
8 | rm -f *.tmp | ||
9 | clean: | ||
10 | rm -f $(FILES) *.tmp | ||
11 | |||
12 | gnunet_dht_block_types.h.tmp: registry.rec h.template | ||
13 | ../format.sh h.template < registry.rec > $@ | ||
14 | |||
15 | gnunet_dht_block_types.h: h.header gnunet_dht_block_types.h.tmp h.footer | ||
16 | cat h.header gnunet_dht_block_types.h.tmp h.footer > $@ | ||
17 | |||
18 | .PHONY: check clean distclean | ||