Documentation: add makefiles for more targets
[cascardo/linux.git] / Documentation / ptp / Makefile
diff --git a/Documentation/ptp/Makefile b/Documentation/ptp/Makefile
new file mode 100644 (file)
index 0000000..293d6c0
--- /dev/null
@@ -0,0 +1,8 @@
+# List of programs to build
+hostprogs-y := testptp
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_testptp.o += -I$(objtree)/usr/include
+HOSTLOADLIBES_testptp := -lrt