source: code/trunk/Makefile@ 68

Last change on this file since 68 was 68, checked in by yakumo.izuru, 8 months ago

Update inline documentation

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 533 bytes
Line 
1OS=`uname -s`
2MACHINE=`uname -m`
3DATE=`date -r _build/default/cli/txt.exe +%Y%m%d`
4COMMIT=`git rev-parse --short HEAD`
5PREFIX=/usr/local
6
7CC=cc
8LD=cc
9
10all:
11 @dune build
12deps:
13 @opam install dune ocurl cmdliner msgpck
14cli:
15 @dune build cli/txt.exe
16clean:
17 @dune clean
18dist:
19 @dune build
20 @cp _build/default/cli/txt.exe txt.exe
21 @strip txt.exe
22 @tar czvf "logarion-${OS}-${MACHINE}-${DATE}-${COMMIT}" txt.exe readme.txt
23 @rm txt.exe
24install:
25 @dune install --prefix ${PREFIX}
26uninstall:
27 @dune uninstall --prefix ${PREFIX}
28.PHONY: cli
Note: See TracBrowser for help on using the repository browser.