summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/Makefile
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-04-29 04:00:57 +0000
committerphk <phk@FreeBSD.org>1995-04-29 04:00:57 +0000
commit093fd20263c83b8fbfb88a7cdb49236a80c9448a (patch)
tree11c2e7145c25cef4f5bba439fe31fdbe93c53551 /lib/libdisk/Makefile
parentf7bf327ed4f468193062d32f7b6bb2cc4b521e9b (diff)
downloadFreeBSD-src-093fd20263c83b8fbfb88a7cdb49236a80c9448a.zip
FreeBSD-src-093fd20263c83b8fbfb88a7cdb49236a80c9448a.tar.gz
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...
Diffstat (limited to 'lib/libdisk/Makefile')
-rw-r--r--lib/libdisk/Makefile7
1 files changed, 5 insertions, 2 deletions
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
OpenPOWER on IntegriCloud