head     1.9;
branch   ;
access   ;
symbols  ;
locks    jerryh:1.9; strict;
comment  @# @;


1.9
date     92.05.14.14.03.11;  author jesup;  state Exp;
branches ;
next     1.8;

1.8
date     92.02.17.00.09.15;  author jesup;  state Exp;
branches ;
next     1.7;

1.7
date     91.12.22.21.48.11;  author bryce;  state Exp;
branches ;
next     1.6;

1.6
date     91.12.22.20.50.09;  author bryce;  state Exp;
branches ;
next     1.5;

1.5
date     91.12.18.13.03.28;  author bryce;  state Exp;
branches ;
next     1.2;

1.2
date     91.12.13.20.23.53;  author bryce;  state Exp;
branches ;
next     1.1;

1.1
date     91.10.22.10.23.40;  author andy;  state Exp;
branches ;
next     ;


desc
@@


1.9
log
@Made it rebuild start.asm when cdfs_rev.i changes
@
text
@###
###	CDFS Makefile (Manx C 5.0d)
###

VERSION	=	24
REMOTE	=	CDTV:src/cdfs
BACKUP	=	vax:cdfs

OBJ1	=	start.o main.o init.o global.o actions.o quickio.o
OBJ2	=	iso.o path.o dir.o lock.o file.o
OBJ3	=	cdio.o str.o lib.o 
OBJS	=	$(OBJ1) $(OBJ2) $(OBJ3)

CFLAGS	=	-3 +L +C +Iram:main.pre -k
AFLAGS	=	-C -N -iinclude: -icdtv:include/

cdfs.ld:	ram:main.pre $(OBJS) 
		-delete cdfs.ld
		ln -w -o cdfs.ld $(OBJS)

global.o:	global.c global.h
		cc -3 +L +C global.c

start.o:	start.asm cdfs_rev.i
		as $(AFLAGS) start.asm

ram:main.pre:	main.h global.h
		cc -3 +L +C -o NIL: +Hram:main.pre main.h

rev:
		bumprev $(VERSION) cdfs_rev

clean:
		-delete #?.o ram:main.pre cdfs.ld

internal:
		protect $(REMOTE)/(#?.asm|#?.c|#?.h|#?.i|cdfs.ld|expansion.lvo|makefile|cdfs_rev.rev) +w
		copy (#?.asm|#?.c|#?.h|#?.i|cdfs.ld|expansion.lvo|makefile|cdfs_rev.rev) $(REMOTE)

backup:
		protect $(BACKUP)/(#?.asm|#?.c|#?.h|#?.i|cdfs.ld|expansion.lvo|makefile|cdfs_rev.rev) +w
		copy (#?.asm|#?.c|#?.h|#?.i|cdfs.ld|expansion.lvo|makefile|cdfs_rev.rev) $(BACKUP)

@


1.8
log
@various fixes
@
text
@d23 3
@


1.7
log
@Delete .ld first, don't copy to CDTV:rom.
@
text
@d7 1
d15 1
a15 1
AFLAGS	=	-C -N -iinclude:
d36 5
@


1.6
log
@Add quickio.asm
@
text
@d17 1
a18 1
		copy cdfs.ld CDTV:rom clone
@


1.5
log
@Rework makefile to better conform to established standards.  Add make
internal, fix make clean, etc.
@
text
@d8 1
a8 1
OBJ1	=	start.o main.o init.o global.o actions.o
d23 1
a23 1
main.pre:	main.h global.h
@


1.2
log
@Add symbols to link
@
text
@d2 1
a2 1
###	CDFS Makefile (Manx)
d6 1
d16 1
a16 1
rom:		main.pre $(OBJS) 
a19 2
packet.o:	packet.c packets.h

d24 1
a24 2
		cc -3 +L +C -o NIL: +Hmain.pre main.h
		copy main.pre ram:
a27 2
		mmake clean
		mmake
d30 1
a30 1
		delete #?.o #?.pre
d32 3
a34 2
back:
		bu * cdfs:main
@


1.1
log
@Initial revision
@
text
@d16 1
a16 1
		ln -o cdfs.ld $(OBJS)
@
