head	1.13;
access;
symbols
	V1_6_7:1.12
	V1_6_6:1.12
	V1_6_5:1.12
	V1_6_4:1.12
	V1_6_3:1.12
	V1_6_2:1.10
	V1_6_1:1.10
	V1_6:1.10
	V1_5_2:1.9
	V1_4_1:1.8
	V1_4:1.8
	V1_3_3:1.6
	V1_3_1:1.6
	V1_3:1.6
	V1_2:1.5
	V1_1:1.5;
locks; strict;
comment	@# @;


1.13
date	2001.12.19.22.16.31;	author vandys;	state Exp;
branches;
next	1.12;

1.12
date	2000.05.20.16.02.07;	author vandys;	state Exp;
branches;
next	1.11;

1.11
date	2000.05.19.13.20.01;	author vandys;	state Exp;
branches;
next	1.10;

1.10
date	97.02.15.20.33.00;	author vandys;	state Exp;
branches;
next	1.9;

1.9
date	95.10.15.23.01.05;	author vandys;	state Exp;
branches;
next	1.8;

1.8
date	95.05.01.00.47.43;	author vandys;	state Exp;
branches;
next	1.7;

1.7
date	95.03.04.23.43.15;	author vandys;	state Exp;
branches;
next	1.6;

1.6
date	94.04.06.21.55.37;	author vandys;	state Exp;
branches;
next	1.5;

1.5
date	93.11.16.02.46.51;	author vandys;	state Exp;
branches;
next	1.4;

1.4
date	93.11.15.23.28.38;	author vandys;	state Exp;
branches;
next	1.3;

1.3
date	93.11.13.20.02.01;	author vandys;	state Exp;
branches;
next	1.2;

1.2
date	93.10.03.20.38.13;	author vandys;	state Exp;
branches;
next	1.1;

1.1
date	93.09.27.18.57.24;	author vandys;	state Exp;
branches;
next	;


desc
@Makefile
@


1.13
log
@Fix cleanup of other objects
@
text
@COPTS=-Wall
OBJS=fsck.o
OUT=fsck mkfs fsdb
EXTRA_CLEAN=mkfs.o fsdb.o

include ../../../makefile.all

fsck: $(OBJS)
	rm -f fsck
	$(LD) $(LDFLAGS) -o fsck $(CRT0) $(OBJS) -lc

mkfs: mkfs.o
	rm -f mkfs
	$(LD) $(LDFLAGS) -o mkfs $(CRT0) mkfs.o -lc

fsdb: fsdb.o
	rm -f fsdb
	$(LD) $(LDFLAGS) -o fsdb $(CRT0) fsdb.o -lusr -lc

install: $(OUT)
	strip $(OUT)
	cp fsck $(ROOT)/bin/fsck_vfs
	cp mkfs $(ROOT)/bin/mkfs_vfs
	cp fsdb $(ROOT)/bin/fsdb_vfs
@


1.12
log
@Shell construct didn't work... hmmm.  for now, do it
the simple way.
@
text
@d4 1
@


1.11
log
@New makefile regime
@
text
@d21 3
a23 1
	for x in $(OUT) ; do cp $x $(ROOT)/bin/$x_vfs ; done
@


1.10
log
@Remove file before writing new output
@
text
@d1 3
a3 6
CC=gcc
LD=ld
INCS=-I../../../../include
CFLAGS=-O $(INCS)
LIBS=-L../../../lib -lusr -lc
CRT0=../../../lib/crt0.o
d5 1
a5 2
.c.o:
	$(CC) $(CFLAGS) -c $*.c
d7 1
a7 4
PROGS=mkfs fsdb fsck
all:  $(PROGS)

fsck: fsck.o
d9 1
a9 1
	$(LD) -o fsck $(CRT0) fsck.o $(LIBS)
d13 1
a13 1
	$(LD) -o mkfs $(CRT0) mkfs.o $(LIBS)
d17 1
a17 7
	$(LD) -o fsdb $(CRT0) fsdb.o $(LIBS)

clean:
	rm -f *.o

clobber: clean
	rm -f mkfs fsdb fsck
d19 3
a21 5
install: all
	strip $(PROGS)
	cp mkfs ../../../../bin/mkfs_vfs
	cp fsdb ../../../../bin/fsdb_vfs
	cp fsck ../../../../bin/fsck_vfs
@


1.9
log
@Optimize
@
text
@d15 1
d19 1
d23 1
@


1.8
log
@Remove -g
@
text
@d4 1
a4 1
CFLAGS=$(INCS)
@


1.7
log
@The great src/ renaming
@
text
@d4 1
a4 1
CFLAGS=$(INCS) -g
@


1.6
log
@Add clean, clobber, install targets
@
text
@d3 1
a3 1
INCS=-I../../../include
d5 2
a6 2
LIBS=-L../../../libc -lusr -lc
CRT0=../../../libc/crt0.o
d31 3
a33 3
	cp mkfs ../../../bin/mkfs_vfs
	cp fsdb ../../../bin/fsdb_vfs
	cp fsck ../../../bin/fsck_vfs
@


1.5
log
@Source reorg
@
text
@d5 1
a5 1
LIBS=-L../../../libc -L../../../lib -lusr -lc
d11 2
a12 1
all: mkfs fsdb fsck
d24 10
a33 4
	del *.o
	del mkfs
	del fsdb
	del fsck
@


1.4
log
@Forgot to cleanup fsck
@
text
@d3 1
a3 1
INCS=-I../../include -I../..
d5 2
a6 1
LIBS=-L../../libc -L../../lib -lusr -lc
d14 1
a14 1
	$(LD) -o fsck ../../libc/crt0.o fsck.o $(LIBS)
d17 1
a17 1
	$(LD) -o mkfs ../../libc/crt0.o mkfs.o $(LIBS)
d20 1
a20 1
	$(LD) -o fsdb ../../libc/crt0.o fsdb.o $(LIBS)
@


1.3
log
@Add fsck
@
text
@d25 1
@


1.2
log
@Add clean
@
text
@d10 4
a13 1
all: mkfs fsdb
@


1.1
log
@Initial revision
@
text
@d17 5
@
