chiark / gitweb /
add basic udev device enumeration module
[elogind.git] / Makefile
index d61e14b63a81a8b5be00763d7267037e25549d11..22c84db77144b7596373a696c4ac70f50c610f16 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter -DUNIT_PATH=\"/tmp/does/not/exist\"
-LIBS=-lrt -lcap
+CFLAGS=-Wall -Wextra -O0 -g -pipe -D_GNU_SOURCE -fdiagnostics-show-option -Wno-unused-parameter -DUNIT_PATH=\"/tmp/does/not/exist\" `pkg-config --cflags libudev`
+LIBS=-lrt -lcap `pkg-config --libs libudev`
 
 COMMON= \
        unit.o \