X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fscsi_id%2FMakefile;h=24c1b3212824467d8937e716a37da4d4e5b78462;hb=70721db6d7ba0d4f3ac5c17f2cedac056065ad8a;hp=bfc2923b345ac456f461a507f29ae0baaed7159b;hpb=b484e43622c04aaf4a2ca851bc7436b873530b1d;p=elogind.git diff --git a/extras/scsi_id/Makefile b/extras/scsi_id/Makefile index bfc2923b3..24c1b3212 100644 --- a/extras/scsi_id/Makefile +++ b/extras/scsi_id/Makefile @@ -14,7 +14,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -SCSI_ID_VERSION=0.4 +SCSI_ID_VERSION=0.9 prefix = etcdir = ${prefix}/etc @@ -28,7 +28,7 @@ INSTALL_DATA = ${INSTALL} -m 644 # Note some of the variables used here are set when built under udev, and # otherwise might not be set. -override CFLAGS+=-Wall -fno-builtin +CFLAGS+=-Wall -fno-builtin PROG=scsi_id SYSFS=-lsysfs @@ -70,5 +70,11 @@ $(OBJS): scsi_id.h scsi.h scsi_id_version.h clean: rm -f $(PROG) $(OBJS) $(GEN_HEADER) +spotless: clean + +.c.o: + $(QUIET) $(CC) $(CFLAGS) -c -o $@ $< + $(PROG): $(OBJS) - $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS) + $(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS) +