summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/Makefile
diff options
context:
space:
mode:
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