Commit aa0f4ce3 authored by Mike Hibler's avatar Mike Hibler

Resync with regular GNUmakefile.

(This makefile is used by the Linux MFS build process).
parent 244034cd
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -64,7 +64,7 @@ endif
CLIENTFLAGS = $(CFLAGS)
CLIENTLIBS =
CLIENTOBJS = disksize.o zapdisk.o
CLIENTOBJS = disksize.o erase.o zapdisk.o
ifeq ($(WITH_MBR),1)
CFLAGS += -DWITH_MBR -Imbr
......@@ -87,6 +87,9 @@ zapdisk: $(CLIENTOBJS)
disksize.o: $(IMAGEZIPDIR)/disksize.c
$(CC) -c $(CFLAGS) -I$(IMAGEZIPDIR) -o disksize.o $<
erase.o: $(IMAGEZIPDIR)/erase.c
$(CC) -c $(CFLAGS) -I$(IMAGEZIPDIR) -o erase.o $<
install:
$(INSTALL) zapdisk $(DESTDIR)$(BINDIR)/zapdisk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment