summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdisk/Makefile')
-rw-r--r--lib/libdisk/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libdisk/Makefile b/lib/libdisk/Makefile
new file mode 100644
index 0000000..e4396f5
--- /dev/null
+++ b/lib/libdisk/Makefile
@@ -0,0 +1,11 @@
+.PATH: /usr/src/sbin/disklabel
+OBJS= tst01.o blocks.o disklabel.o dkcksum.o chunk.o disk.o change.o \
+ create_chunk.o
+CFLAGS+= -Wall
+
+test: tst01
+ cp tst01 /0
+ ./tst01 sd0
+
+tst01: ${OBJS}
+ cc ${CFLAGS} -static -o tst01 ${OBJS}
OpenPOWER on IntegriCloud