You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 371B

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