瀏覽代碼

add libmcp and libpifacedigital

tags/v1.0
Robin Thoni 9 年之前
父節點
當前提交
3682cae36a
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      Makefile

+ 2
- 1
Makefile 查看文件

@@ -1,13 +1,14 @@
1 1
 CXX = g++
2 2
 CXXFLAGS = -Wall -Wextra -Werror -pedantic -std=c++1y -g3 -ggdb3
3 3
 SRC = main.cpp mainclass.cpp
4
+LDLIBS = -lpifacedigital -lmcp23s17
4 5
 OBJ = $(addprefix src/, $(SRC:.cpp=.o))
5 6
 
6 7
 
7 8
 all: camotion-pifaceo
8 9
 
9 10
 camotion-pifaceo: $(OBJ)
10
-	$(LINK.cpp) $(OBJ) $(OUTPUT_OPTION)
11
+	$(LINK.cpp) $(OBJ) $(OUTPUT_OPTION) $(LDLIBS)
11 12
 
12 13
 clean:
13 14
 	rm -f $(OBJ)

Loading…
取消
儲存