diff options
author | June McEnroe <june@causal.agency> | 2018-08-24 18:14:34 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-24 18:14:34 -0400 |
commit | 02c3c58225056b6f689d3375f79f3ad4233de041 (patch) | |
tree | 47dfe90e54be3364df06df393831651c5bc7fe1c /Makefile | |
parent | Remove help (diff) | |
download | torus-02c3c58225056b6f689d3375f79f3ad4233de041.tar.gz torus-02c3c58225056b6f689d3375f79f3ad4233de041.zip |
Add client-side help page
Diffstat (limited to '')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 2b0ca87..9d00e9e 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,15 @@ all: tags $(BINS) $(OBJS): torus.h +client.o: help.h + +help.h: + head -c 4096 torus.dat \ + | file2c -s -x 'static const uint8_t HELP_DATA[] = {' '};' \ + > help.h + echo 'static const struct Tile *HELP = (const struct Tile *)HELP_DATA;' \ + >> help.h + tags: *.h *.c ctags -w *.h *.c |