您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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-piface /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