summaryrefslogtreecommitdiff
path: root/extras/udevinfo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/udevinfo/Makefile')
-rw-r--r--extras/udevinfo/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/extras/udevinfo/Makefile b/extras/udevinfo/Makefile
new file mode 100644
index 0000000000..f31c8c11e9
--- /dev/null
+++ b/extras/udevinfo/Makefile
@@ -0,0 +1,14 @@
+PROG=udevinfo
+LD=$(CC)
+OBJS=udevinfo.o
+
+all: $(PROG)
+
+clean:
+ rm -f $(PROG) $(OBJS)
+
+$(PROG): $(OBJS)
+ $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS)
+
+me:
+ cd ../..; make EXTRAS=extras/udevinfo