Explorar el Código

add libmcp and libpifacedigital

tags/v1.0
Robin Thoni hace 9 años
padre
commit
3682cae36a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      Makefile

+ 2
- 1
Makefile Ver fichero

@@ -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…
Cancelar
Guardar