aboutsummaryrefslogtreecommitdiff
path: root/noao/imred/generic/mkpkg
blob: 2c33031b198a43ffd96474ef8b80056d7229d704 (plain) (blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Make the GENERIC package.
# Make the GENERIC package.

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
	$update	libpkg.a
	$call	generic
	;

install:
	$move	x_generic.e noaobin$
	;

generic:
	$omake	x_generic.x
	$link	x_generic.o libpkg.a -lxtools -lcurfit
	;

libpkg.a:
	flat1d.x	<imhdr.h> <pkg/gtools.h>
	;

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
	$update	libpkg.a
	$call	generic
	;

install:
	$move	x_generic.e noaobin$
	;

generic:
	$omake	x_generic.x
	$link	x_generic.o libpkg.a -lxtools -lcurfit
	;

libpkg.a:
	flat1d.x	<imhdr.h> <pkg/gtools.h> <error.h>
	;