summaryrefslogtreecommitdiff
path: root/extras/volume_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-30 17:03:25 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-30 17:03:25 +0200
commit0e47c219fc5c509f277c9a44f2d29362fff88193 (patch)
tree345012dbc6fd395c339601e0a0cd63d1015959ba /extras/volume_id
parent264ccb68ee070adcb7b38b3a139adf018ba9089e (diff)
Makefile: remove all the duplicated rules
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'extras/volume_id')
-rw-r--r--extras/volume_id/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/extras/volume_id/Makefile b/extras/volume_id/Makefile
index 0fadbf5b0e..8ca3bd1333 100644
--- a/extras/volume_id/Makefile
+++ b/extras/volume_id/Makefile
@@ -31,8 +31,7 @@ INSTALL_SCRIPT = ${INSTALL_PROGRAM}
VOLUME_ID_BASE=volume_id
include $(VOLUME_ID_BASE)/Makefile.inc
-OBJS = vol_id.o $(VOLUME_ID_OBJS)
-LIB_OBJS=../../udev.a
+OBJS = vol_id.o $(VOLUME_ID_OBJS) $(LIBUDEV)
HEADERS = $(VOLUME_ID_HEADERS)
$(OBJS): $(HEADERS)
@@ -41,7 +40,7 @@ $(OBJS): $(HEADERS)
$(QUIET) $(CC) $(CFLAGS) -c -o $@ $<
$(PROG): $(OBJS) $(HEADERS)
- $(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIB_OBJS)
+ $(QUIET) $(LD) $(LDFLAGS) -o $(PROG) $(OBJS)
clean:
rm -f $(PROG) $(OBJS)