瀏覽代碼

Add a note about compilation

Stéphane Raimbault 17 年之前
父節點
當前提交
5cddeabae2
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      tests/README

+ 8 - 0
tests/README

@@ -1,3 +1,11 @@
+Compilation
+-----------
+
+After installation, you can use pkg-config to compile these tests.
+For example, to compile random-test-slave run:
+
+gcc random-test-slave.c -o random-test-slave `pkg-config --libs --cflags modbus`
+
 random-test-slave
 -----------------
 It's necessary to launch this server before run random-test-master. By