chiark / gitweb /
scsi_id: rename SYSFS to LIBSYSFS
[elogind.git] / extras / scsi_id / Makefile
index 7ccc4c51181f0471c388318093bdcc278a14e78c..3c38d6171e65b913038cf2bd09ed1a763094cd17 100644 (file)
@@ -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.6
+SCSI_ID_VERSION=0.9
 
 prefix =
 etcdir =        ${prefix}/etc
@@ -28,10 +28,10 @@ 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
+LIBSYSFS=-lsysfs
 
 #
 # Built static and stripped when built with udev.
@@ -72,5 +72,9 @@ clean:
 
 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) $(LIBSYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
+