##
## makefile for hsc example project
##

#
# NOTE: this makefile is prepared for use under AmigaOS (default) and
#	Unix. To enable the Unix-version, enable the second 
#	definition of the symbol "hsc" and "dest".
#

#
# command used to envoke hsc
#
hsc	= //hsc
#hsc	= ../../hsc

#
# project destination dir
#
dest	= /object_html/
#dest	= ../object_html/

#
# options for hsc
#
opts   = CheckUri DestDir=$(dest) status=line|verbose

all : $(dest)stupid.html $(dest)hugo/hugo.html $(dest)main.html 

$(dest)main.html : main.hsc macro.hsc
	$(hsc) main.hsc $(opts)

$(dest)stupid.html : stupid.hsc macro.hsc
	$(hsc) stupid.hsc $(opts)

$(dest)hugo/hugo.html : hugo/hugo.hsc macro.hsc
	$(hsc) hugo/hugo.hsc $(opts)

# EOF