source: code/trunk/Makefile@ 71

Last change on this file since 71 was 68, checked in by Izuru Yakumo, 8 months ago

Update inline documentation

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

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