Browse Source

add libmcp and libpifacedigital

tags/v1.0
Robin Thoni 9 years ago
parent
commit
3682cae36a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Makefile

+ 2
- 1
Makefile View File

@@ -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…
Cancel
Save