File: Makefile

package info (click to toggle)
hsc 0.916-2
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 2,584 kB
  • ctags: 2,277
  • sloc: ansic: 17,375; makefile: 396
file content (39 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
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
35
36
37
38
39
#
# 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 "DESTDIR".
#

#
# command used to invoke hsc
#
HSC	= ///hsc
#HSC	= ../../../hsc

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

#
# options for hsc
#
HSCOPTS   = TO=$(DESTDIR) STATUS="line|verbose"

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

$(DESTDIR)main.html : main.hsc macro.hsc
 	$(HSC) $(HSCOPTS) main.hsc 

$(DESTDIR)stupid.html : stupid.hsc macro.hsc
	$(HSC) $(HSCOPTS) stupid.hsc 

$(DESTDIR)hugo/hugo.html : hugo/hugo.hsc macro.hsc
	$(HSC) $(HSCOPTS) hugo/hugo.hsc 

# EOF