diff options
author | Neil Brown <neilb@suse.de> | 2002-03-06 23:17:40 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2002-03-06 23:17:40 +0000 |
commit | cd29a5c835c11cbcedc10487677eac6a946ad61b (patch) | |
tree | d4bb1a92ee76d8680522baace561aaa1ceaaebae /Makefile | |
parent | 52826846282e9e224e05dde6d2e4cb38d1fefec7 (diff) | |
download | mdadm-cd29a5c835c11cbcedc10487677eac6a946ad61b.tar.gz mdadm-cd29a5c835c11cbcedc10487677eac6a946ad61b.tar.xz mdadm-cd29a5c835c11cbcedc10487677eac6a946ad61b.zip |
mdctl-0.6mdctl-0.6
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -1,7 +1,7 @@ # # mdctl - manage Linux "md" devices aka RAID arrays. # -# Copyright (C) 2001 Neil Brown <neilb@cse.unsw.edu.au> +# Copyright (C) 2001-2002 Neil Brown <neilb@cse.unsw.edu.au> # # # This program is free software; you can redistribute it and/or modify @@ -27,18 +27,29 @@ # Australia # +CC = gcc CFLAGS = -Wall,error,strict-prototypes -ggdb +INSTALL = /usr/bin/install +DESTDIR = /sbin + OBJS = mdctl.o config.o ReadMe.o util.o Manage.o Assemble.o Build.o Create.o Detail.o Examine.o Monitor.o dlink.o -all : mdctl + +all : mdctl mdctl.man mdctl : $(OBJS) $(CC) -o mdctl $^ +mdctl.man : mdctl.8 + nroff -man mdctl.8 > mdctl.man + $(OBJS) : mdctl.h +install : mdctl + $(INSTALL) -m 755 mdctl $(DESTDIR)/sbin + clean : - rm -f mdctl $(OBJS) core + rm -f mdctl $(OBJS) core mdctl.man dist : clean ./makedist |