head     39.2;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @@;


39.2
date     92.08.25.12.10.24;  author peter;  state Exp;
branches ;
next     39.1;

39.1
date     92.08.25.12.08.35;  author peter;  state Exp;
branches ;
next     1.4;

1.4
date     92.08.25.11.40.03;  author peter;  state Exp;
branches ;
next     1.3;

1.3
date     91.11.09.15.34.28;  author peter;  state Exp;
branches ;
next     1.2;

1.2
date     91.10.18.16.26.28;  author peter;  state Exp;
branches ;
next     1.1;

1.1
date     90.07.19.22.04.29;  author kevin;  state Exp;
branches ;
next     ;


desc
@Make file to make the sfd program.
@


39.2
log
@Doc file now called sfd.doc in doc directory too.
@
text
@# The source code to sfd is a lex file (sfd.l), which exists only
# on the Sun, and is converted using lex running on the Sun.  The
# resulting sfd.c file may be compiled on the Sun or on the Amiga.
#
# The Amiga version of sfd is found in V:aug/src/sfd, along with a
# makefile which grabs sfd.c from here and compiles it.

# This rule builds the sfd.c file using lex, then builds the Sun-based
# executable, calling it sfd.out.
sun2:
	@@echo "You better be building this on a Sun 2,"
	@@echo "or else it won't execute on a Sun 2!"
	lex -t sfd.l >sfd.c
	cc -O -o sfd.out sfd.c

# This rule installs the executable and doc into V:tools/bin and
# V:tools/doc.

install:
	rm -f sfd.test

	rm -f ../../bin/sfd
	cp sfd.out ../../bin/sfd

	rm -f ../../doc/sfd.doc
	cp sfd.doc ../../doc

test:
	lex -t sfd.l >sfd.c
	cc -O -DDEBUG sfd.c -o sfd.test

@


39.1
log
@Changed path since we've moved sfd into its own directory.
@
text
@d25 2
a26 2
	rm -f ../../doc/sfd
	cp sfd.doc ../../doc/sfd
@


1.4
log
@Cleaned up and commented the makefile
@
text
@d22 2
a23 2
	rm -f ../bin/sfd
	cp sfd.out ../bin/sfd
d25 2
a26 2
	rm -f ../doc/sfd
	cp sfd.doc ../doc/sfd
@


1.3
log
@Now deletes ../bin/sfd and ../doc/sfd.doc to overcome ownership problems.
@
text
@d1 6
a6 1
# For amiga version, see V:aug/src/sfd...
d8 2
a9 7
sfd.out:
	lex -t sfd.l >sfd.c
	rcp sfd.c mailhost:sfd.c
	rsh mailhost "cc -O sfd.c -o sfd.out"
	rcp mailhost:sfd.out sfd.out
	rsh mailhost "rm sfd.c sfd.out"

d11 2
d16 2
a17 3
test:
	lex -t sfd.l >sfd.c
	cc -O -DDEBUG sfd.c -o sfd.test
d27 5
@


1.2
log
@Broke Kevin's lock but kept his change to the cc line for sun2.
Added reference for native sfd.
@
text
@d20 2
d23 2
@


1.1
log
@Initial revision
@
text
@d1 2
d12 1
a12 1
	cc -O sfd.c -o sfd.out
@
