summaryrefslogtreecommitdiff
path: root/extras/udevinfo/Makefile
blob: b740b253319fc0281809ea66aceed41d1e6a76f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PROG=udevinfo
OBJS=	../../udev_config.o \
	../../udev-add.o \
	../../udev-remove.o \
	../../udevdb.o \
	../../logging.o \
	../../namedev.o  \
	../../namedev_parse.o \
	../../libsysfs/sysfs_bus.o \
	../../libsysfs/sysfs_class.o \
	../../libsysfs/sysfs_device.o \
	../../libsysfs/sysfs_dir.o \
	../../libsysfs/sysfs_driver.o \
	../../libsysfs/sysfs_utils.o \
	../../libsysfs/dlist.o \
	../../tdb/tdb.o \
	../../tdb/spinlock.o \

all: $(PROG)

$(PROG): $(PROG).o
	$(LD) $(LDFLAGS) -o $(PROG) $(PROG).o $(OBJS) -lc

clean:
	rm -f $(PROG) $(OBJS) $(PROG).o

me:
	cd ../..; make EXTRAS=extras/udevinfo