-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
35 lines (26 loc) · 843 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Makefile
#
# build iplViewer's libraries and executable.
#
# $Source$
# version: CVS: $Id$
# author: guillaume luchet <[email protected]>
# copyright: copyright (c) 2007-2009, guillaume luchet
GTK_SHARP=gtk-sharp-2.0
APP_NAME=iplViewer
APP_VERSION=0.1
APP_STABILITY=alpha
RELEASE=${APP_NAME}_${APP_VERSION}_${APP_STABILITY}.exe
all: init build
build:
@echo "\n -- compile src..."
@mcs -pkg:${GTK_SHARP} -recurse:'src/*.cs' -out:bin/${RELEASE} \
-doc:doc/xml/${APP_NAME}.xml
@echo "\n -- generate xml documentation..."
@monodocer -path:doc/monodocer -name:${APP_NAME} -pretty \
-importslashdoc:doc/xml/${APP_NAME}.xml \
-assembly:bin/${RELEASE}
@echo "\n -- generate html documentation..."
@monodocs2html --source doc/monodocer/ --dest doc/html/
init:
@sh init.sh