mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
f9c10dfd1a
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...
15 lines
293 B
Makefile
15 lines
293 B
Makefile
.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 -g
|
|
|
|
test: tst01
|
|
cp tst01 /0
|
|
./tst01 sd0
|
|
|
|
tst01: ${OBJS}
|
|
cc ${CFLAGS} -static -o tst01 ${OBJS} -lreadline -ltermcap
|
|
|
|
clean:
|
|
rm -f *.o *.core tst01
|