From 093fd20263c83b8fbfb88a7cdb49236a80c9448a Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 29 Apr 1995 04:00:57 +0000 Subject: Next Iteration, getting better. Made an All_FreeBSD() function. Added a cmd-line interface (lowest rank) to the tst01 program. The tst01 program is harmless (worst it can do is coredump), but it is instructive to run, you can see what the slice-code things of your disk... --- lib/libdisk/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/libdisk/Makefile') diff --git a/lib/libdisk/Makefile b/lib/libdisk/Makefile index 6a5fcdb..8f55911 100644 --- a/lib/libdisk/Makefile +++ b/lib/libdisk/Makefile @@ -1,11 +1,14 @@ .PATH: /usr/src/sbin/disklabel OBJS= tst01.o blocks.o disklabel.o dkcksum.o chunk.o disk.o change.o \ create_chunk.o rules.o -CFLAGS+= -Wall +CFLAGS+= -Wall -g test: tst01 cp tst01 /0 ./tst01 sd0 tst01: ${OBJS} - cc ${CFLAGS} -static -o tst01 ${OBJS} + cc ${CFLAGS} -static -o tst01 ${OBJS} -lreadline -ltermcap + +clean: + rm -f *.o *.core tst01 -- cgit v1.1